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

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

Mojarra issue: https://github.com/eclipse-ee4j/mojarra/issues/4696

Per BalusC: "I've analyzed the implementation and I suspect that the client ID 
behavior is "by design". It's at least not trivial to "fix" it without causing 
too many potential regressions somewhere else. I'll probably have to leave it 
as is for now. Perhaps it only needs to be more clearly documented somewhere."

> 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