[seam-issues] [JBoss JIRA] (JBSEAM-5050) seam:fragment doesn't skip rendering ui:include when seam:fragment rendered attribute is false
Marek Novotny (JIRA)
jira-events at lists.jboss.org
Mon Oct 8 17:20:03 EDT 2012
[ https://issues.jboss.org/browse/JBSEAM-5050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724831#comment-12724831 ]
Marek Novotny commented on JBSEAM-5050:
---------------------------------------
Can you attach a testcase?
you are using #{false}, but that must be string value false/true or #{condition}. Could you clarify what is your usage?
> seam:fragment doesn't skip rendering ui:include when seam:fragment rendered attribute is false
> ----------------------------------------------------------------------------------------------
>
> Key: JBSEAM-5050
> URL: https://issues.jboss.org/browse/JBSEAM-5050
> Project: Seam 2
> Issue Type: Bug
> Components: JSF Integration
> Affects Versions: 2.3.0.Final
> Reporter: Murat HAZER
>
> seam:fragment doesn't skip rendering ui:include when seam:fragment rendered attribute is false
> <seam:fragment rendered="#{false}">
> <ui:include src="myPage.xhtml" />
> </seam:fragment>
> normally nothing should be initialized related with myPage.xhtml bu all beans are initialized. In seam 2.2.2.Final this works as expected
> simple workaround is use <c:if> instead of <seam:fragment>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list