[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 15 04:13:01 EDT 2012


    [ https://issues.jboss.org/browse/JBSEAM-5050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726349#comment-12726349 ] 

Marek Novotny commented on JBSEAM-5050:
---------------------------------------

Murat, I was asking for testcase, because seam-ui example uses s:fragment and I tried to hide it and it seems ok, but you certainly has got different usage. As a side note I figured out that Seam taglib for s:fragment has got wrong defined properties and fixed that in Seam_2_3 branch.
                
> 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