myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Cooper (JIRA)" <>
Subject [jira] Updated: (TRINIDAD-1840) UIXTable and UIXTreeTable should provide hooks into decode/validate/updateChildrenImpl
Date Tue, 22 Jun 2010 23:42:50 GMT


Matt Cooper updated TRINIDAD-1840:

           Status: Resolved  (was: Patch Available)
    Fix Version/s:
       Resolution: Fixed

> UIXTable and UIXTreeTable should provide hooks into decode/validate/updateChildrenImpl
> --------------------------------------------------------------------------------------
>                 Key: TRINIDAD-1840
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 2.0.0-alpha
>         Environment: All
>            Reporter: Kamran Kashanian
>            Assignee: Matt Cooper
>             Fix For:
>         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)

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

View raw message