[ 
https://issues.apache.org/jira/browse/MYFACES-4161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541124#comment-17541124
 ] 

Melloware commented on MYFACES-4161:
------------------------------------

Here is a runnable reproducer and I have verified that Mojarra treats it 
exactly the same way.

 [^myfaces-4161.zip] 

> Component in facet not relocated in composite component
> -------------------------------------------------------
>
>                 Key: MYFACES-4161
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4161
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.10
>            Reporter: Christian Beikov
>            Priority: Major
>         Attachments: myfaces-4161.zip
>
>
> 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
> {code:xml}
> <composite:interface>
>   <composite:facet name="before" />
> </composite:interface>
> <composite:implementation>
>   <h:form>
>     ...
>     <composite:renderFacet name="before"/>
>     ...
>   </h:form>
> </composite:implementation>
> {code}
> Now when I use an input component in the facet, it doesn't get relocated into 
> the appropriate naming container.
> {code:xml}
> <my:component>
>   <f:facet name="before">
>     <h:inputText .../>
>   </f:facet>
> </my:component>
> {code}
> 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?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to