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


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

Reply via email to