dev@jsftemplating.java.net

[Issue 43] New - Nested components not created in templates

From: <jacolists_at_dev.java.net>
Date: 24 Jun 2008 07:23:10 -0000

Nested components not created in templates:
https://jsftemplating.dev.java.net/issues/show_bug.cgi?id=43
                 Issue #|43
                 Summary|Nested components not created in templates
               Component|jsftemplating
                 Version|1.2
                Platform|Windows
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|Templating Format
             Assigned to|kenpaulsen
             Reported by|jacolists






------- Additional comments from jacolists_at_dev.java.net Tue Jun 24 07:23:10 +0000 2008 -------
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:

<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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>