You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Kemp (JIRA)" <de...@myfaces.apache.org> on 2011/07/25 09:59:09 UTC

[jira] [Created] (MYFACES-3239) ui:fragment ignores rendered attribute if nested in h:dataTable

ui:fragment ignores rendered attribute if nested in h:dataTable
---------------------------------------------------------------

                 Key: MYFACES-3239
                 URL: https://issues.apache.org/jira/browse/MYFACES-3239
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.1.1, 2.0.7, 2.0.6
            Reporter: Peter Kemp
            Priority: Minor


When nested inside a h:dataTable, ui:fragment is always rendered even if rendered="false"

In the following example, 'This text should not appear' appears in the output.  And it shouldn't.

<h:dataTable id="dtTable" value="#{myBean.someList}" var="row">

	<ui:fragment rendered="false">
		<h:outputText value="This text should not appear"/>
	</ui:fragment>

</h:dataTable>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira