UIXTable and UIXTreeTable should provide hooks into 
decode/validate/updateChildrenImpl
--------------------------------------------------------------------------------------

                 Key: TRINIDAD-1840
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1840
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions: 2.0.0-alpha
         Environment: All
            Reporter: Kamran Kashanian
         Attachments: hooks.patch

The Trinidad UIXCollection class provides hooks for processing of 
stamped/unstamped children and facets during decode/validate/update-model JSF 
lifecycle phases for any collection components that extent UIXCollection. 

See the abstract method "processFacetsAndChildren" in 
decode/validate/updateChildrenImpl in UIXCollection.   This allows collection 
component subclasses to perform special logic for handling stamped/unstamped 
children, and facets during decode/validate/update-model phases.

UIXTable and UIXTreeTable provide concrete implementations for 
processFacetsAndChildren.  However,  both of these components make 
processFacetsAndChildren final and disallow any subclasses from overriding and 
customizing the child processing logic.

The proposal is to make UIXTable and UIXTreeTable child component processing 
more extensible as follows:

1) Remove the 'final' keyword from processFacetsAndChildren and allow 
subclasses to override these methods
2) Provide more hooks into the existing processFacetsAndChildren processing by 
making the utility methods in TableUtils (processStampedChildren, 
processColumnFacets, and processFacets) public.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to