Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3052

composite:insertchildren not working entirely correctly

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.0.4
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            werpu Werner Punz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment