composite:insertchildren not working entirely correctly
-------------------------------------------------------

                 Key: MYFACES-3052
                 URL: https://issues.apache.org/jira/browse/MYFACES-3052
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.0.4
            Reporter: Werner Punz


According to the html spec insertchildren in a composite component should 
reposition every child component
within the composite tag to the final rendering position defined via 
insertchildren.
So far so good, but following usecase swallows the jsf component and only 
renders the html markup.

component call:
     <ezw:pull id="pull">
                aaaa
                <h:outputScript value="hello world" ></h:outputScript>
            </ezw:pull>

with the component
<ui:component xmlns=""
              xmlns:ui="http://java.sun.com/jsf/facelets";
              xmlns:composite="http://java.sun.com/jsf/composite";
              xmlns:f="http://java.sun.com/jsf/core";
              xmlns:h="http://java.sun.com/jsf/html";
              xmlns:c="http://java.sun.com/jsp/jstl/core";>
    <composite:interface>
      
    </composite:interface>
    <composite:implementation>
       <composite:insertChildren></composite:insertChildren>
    </composite:implementation>
</ui:component>

results in only aaaa being rendered but hello world emitted by the outputscript 
being swallowed.


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

        

Reply via email to