Details
Description
When nested inside h:dataTable or h:panelGroup, 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">
<h:column>
<ui:fragment rendered="false">
<h:outputText value="This text should not appear"/>
</ui:fragment>
</h:column>
</h:dataTable>
This example with h:panelGroup is similar
<h:panelGroup id="somePanel">
<ui:fragment rendered="false">
<h:outputText value="This text should not appear either"/>
</ui:fragment>
</h:panelGroup>
Attachments
Issue Links
- duplicates
-
MYFACES-3146 ui:fragment (ComponentRef) is responsible for rendering its child components
- Closed
-
MYFACES-3293 REGRESSION: 2.0.5->2.0.6: RendererUtils.renderChild no longer checks isRendered
- Closed