myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Updated: (TRINIDAD-1996) FacesContextFactoryImpl's FacesContext (CacheRenderKit) needs to extend FacesContextWrapper not FacesContext
Date Wed, 26 Jan 2011 09:40:44 GMT

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

Matthias Weßendorf updated TRINIDAD-1996:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2
         Assignee: Matthias Weßendorf
           Status: Resolved  (was: Patch Available)

> FacesContextFactoryImpl's FacesContext (CacheRenderKit) needs to extend FacesContextWrapper
not FacesContext
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1996
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1996
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Michael Freedman
>            Assignee: Matthias Weßendorf
>             Fix For: 2.0.0-beta-2
>
>         Attachments: FacesContextFactoryImpl.patch, jira-1996.patch
>
>
> Currently Trinidad's FacesContextFactoryImpl creates a FacesContext of type CacheRenderKit
(declared in same file).  CacheRenderKit is declared as a class that extends FacesContext.
 Instead it should extend FacesContextWrapper.  By not using the wrapper Trinidad breaks other
instances in the hierarchy (lower than it) as it misses the wrapper delegation model.  
> Note:  When you make this change. also remove the now obsolete methods that merely delegate.
> Testcase:  Portlet Bridge TCK tests don't run unless this code is changed to extend the
Wrapper.

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


Mime
View raw message