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

Component in facet not relocated in composite component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.2.10
    • None
    • None
    • None

    Description

      I have a composite component that accepts a facet. The composite component defines a form within which the facet is rendered. It roughly looks like this

      <composite:interface>
        <composite:facet name="before" />
      </composite:interface>
      <composite:implementation>
        <h:form>
          ...
          <composite:renderFacet name="before"/>
          ...
        </h:form>
      </composite:implementation>
      

      Now when I use an input component in the facet, it doesn't get relocated into the appropriate naming container.

      <my:component>
        <f:facet name="before">
          <h:inputText .../>
        </f:facet>
      </my:component>
      

      The client id of the input element does not contain the form id and is thus not being considered during form processing.
      Can you confirm this is a bug?

      Attachments

        1. myfaces-4161.zip
          8 kB
          Melloware

        Activity

          People

            Unassigned Unassigned
            christian.beikov Christian Beikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: