You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Sven Linstaedt (JIRA)" <de...@myfaces.apache.org> on 2014/05/22 14:55:02 UTC

[jira] [Created] (MYFACES-3896) AjaxHandler does not consider UserTagHandler as wrapped elements

Sven Linstaedt created MYFACES-3896:
---------------------------------------

             Summary: 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)