[ http://issues.apache.org/jira/browse/MYFACES-1028?page=all ]
     
Mario Ivankovits closed MYFACES-1028:
-------------------------------------

    Resolution: Invalid

AjaxDecodePhaseListener no longer uses ComponentUtils and thus its bug is no 
longer happening

> make autoUpdateDataTable work if added via facet (panelLayout)
> --------------------------------------------------------------
>
>          Key: MYFACES-1028
>          URL: http://issues.apache.org/jira/browse/MYFACES-1028
>      Project: MyFaces
>         Type: Bug
>   Components: Sandbox
>     Versions: Nightly
>     Reporter: Mario Ivankovits
>  Attachments: autoupdate_facet.diff
>
> The attached patch makes the autoUpdateDataTable work even if its added via 
> an facet (panelLayout)
> The main problem can be located in 
> org/apache/myfaces/custom/util/ComponentUtils.java this will traverse all 
> children but not the facets and thus the component cant be found.
> AjaxDecodePhaseListener uses this utility class.
> I changed it to use root.getFacetsAndChildren() - not it works.
> This utility method is used in some other places too, so I dont know if this 
> change makes the other work better too, or break them.
> If you would like to I can - instead of change this method - create a new one 
> which will be used in AjaxDecodePhaseListener then.
> ---
> Mario

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to