Nested JSF components (where one component is the child of another) are not created when defining template-based
components. The top-level components are created and displayed correctly, but their child components are ignored.
For instance, in the following example template the first h:outputText will display correctly, but the second won't:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:outputText value="This is displayed." />
<h:panelGrid>
<h:outputText value="This is ignored." />
</h:panelGrid>
</ui:composition>
Environment
Operating System: All
Platform: Windows
Affected Versions
[1.2]
Nested JSF components (where one component is the child of another) are not created when defining template-based
components. The top-level components are created and displayed correctly, but their child components are ignored.
For instance, in the following example template the first h:outputText will display correctly, but the second won't:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:outputText value="This is displayed." />
<h:panelGrid>
<h:outputText value="This is ignored." />
</h:panelGrid>
</ui:composition>
Environment
Operating System: All
Platform: Windows
Affected Versions
[1.2]