-
1. Re: Seam 2.1.2 problem with rich:tabPanel in XXXEdit.xhtml
lvdberg Jun 10, 2009 12:28 PM (in response to ahmadadly)Sounds like a problem but to be honest we only use Seam-gen to give the project a first go, In most cases we need to work with an
as-is
database and mapping the sometimesmasterpieces of DB-design
take most of the time. Having a basic set of accesspages is great, but just the start.Probably changing the switch-type of the tabs to ajax will solve the problem, because in that case the tab's content is not rendered, hence no id-conflict will occur.
Until now we've upgraded whenever the requiremsnts ask for it (because of additional functionality or bug fixes in newer versions).
JIRA ?
Leo
-
2. Re: Seam 2.1.2 problem with rich:tabPanel in XXXEdit.xhtml
ahmadadly Jun 10, 2009 1:48 PM (in response to ahmadadly)I agree with you about
Seam-gen to give the project a first go
.About changing switch-type, it is already ajax switching but this didn't fix the problem.
<rich:tabPanel switchType="ajax">
In fact I added a quick fix to it by modifying the template edit.xhtml.ftl
to be<#assign parentIdName = parentPojo.shortName?cap_first> <s:button id="${'#'}{${homeName}.instance.${property.name} != null ? 'change${parentIdName}Parent' : 'select${parentIdName}Parent'}"
instead of
<s:button id="${'#'}{${homeName}.instance.${property.name} != null ? 'changeParent' : 'selectParent'}"
Finally, I think creating a JIRA ticket may be nice so far or just fixing it by the same way that I did, but I am wondering about specifying ID property of <s:button>, while Seam 2.1.1.GA without this specifying.
Thanks for your support :)
-
3. Re: Seam 2.1.2 problem with rich:tabPanel in XXXEdit.xhtml
henningsprang Feb 13, 2010 7:32 PM (in response to ahmadadly)thanks! that helped me fixing the same problem immediately (but I only fixed the generated class, not the generation template as you explain).
The problem still kexists in seam 2.2 - Isn't that an issue to be reported in an issue tracker so it can be fixed in the seam distribution?
Or is it already fixed in later versions? -
4. Re: Seam 2.1.2 problem with rich:tabPanel in XXXEdit.xhtml
henningsprang Feb 13, 2010 7:34 PM (in response to ahmadadly)it's already reported in jira, but not yet solved: https://jira.jboss.org/jira/browse/JBSEAM-4273
-
5. Re: Seam 2.1.2 problem with rich:tabPanel in XXXEdit.xhtml
coenos Feb 4, 2011 12:27 PM (in response to ahmadadly)Hi,
it's still not solved in Seam 2.2.1.Final which I am using now. The workaround does not work anymore either, instead of using parentIdName, you need to use parentName
<s:button id="${'#'}{${homeName}.instance.${property.name} != null ? 'change${parentName}Parent' : 'select${parentName}Parent'}"
Cheers,
Coenos