Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
All
Description
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.