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

Sven Linstaedt commented on MYFACES-3896:
-----------------------------------------

Okay, I thought about a user tag as being more some kind of "shortcut" for 
ui:include than a component.

> AjaxHandler does not consider UserTagHandler as wrapped elements
> ----------------------------------------------------------------
>
>                 Key: MYFACES-3896
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3896
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Sven Linstaedt
>
> When I include a facelet file via ui:include I can wrap the file in a f:ajax 
> tag, in order to apply the behavior to all children of the file.
> When I move to file to it's own tag using an taglib, this does not work any 
> more and myfaces is complaining about undefined eventNames. The reason for 
> this is that the UserTagHandler is not considered as a valid child for 
> wrapped f:ajax tags, but the IncludeHandler is.
> Works:
> {code}
> ...
> <f:ajax render="@all">
>       <ui:include src="/file/with/inputComponents.xhtml" />
> </f:ajax>
> ...
> {code}
> Does not work:
> {code}
> ...
> <f:ajax render="@all">
>       <custom:fileWithInputComponents />
> </f:ajax>
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to