You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2011/05/20 23:11:47 UTC

[jira] [Resolved] (TRINIDAD-2101) Provide partial lifecycle hooks for UIXComponent implementations

     [ https://issues.apache.org/jira/browse/TRINIDAD-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Robinson resolved TRINIDAD-2101.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.1

> Provide partial lifecycle hooks for UIXComponent implementations
> ----------------------------------------------------------------
>
>                 Key: TRINIDAD-2101
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2101
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 2.0.0
>            Reporter: Andrew Robinson
>            Assignee: Andrew Robinson
>             Fix For: 2.0.1
>
>
> UIXSwitcher, UIXShowOne, and UIXShowDetailItem all short-circuit the lifecycle of their children, meaning that the partially decode, validate, update, visit, flatten, etc. their children components. Since it is a something that may be done in other components, I would like to enhance UIXComponentBase to provide a protected API to make this functionality common so that it is less error prone and easier to maintain going forward. 
> The idea would be for the component to ask itself or its renderer (CoreRenderer support) to get the list of components to process for lifecycle methods. It would default to all the facets and the children. For the above components, they would override it to customize the list.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira