[ https://issues.apache.org/jira/browse/MYFACES-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997830#comment-12997830 ]
Jakob Korherr commented on MYFACES-3052: ---------------------------------------- Werner, I guess you misused <h:outputScript />: <h:outputScript value="some value" /> does not produce any output. You should use <h:outputScript resourceName="..." libraryName="..." /> instead. I think what you meant was <h:outputText value="some value" />. However, this should work with <cc:insertChildren />. Could you please verify this? > 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