myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary VanMatre (Updated) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Updated] (TRINIDAD-2151) Missing new JSF 2 signatures on ServletExternalContext
Date Wed, 19 Oct 2011 17:53:10 GMT

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

Gary VanMatre updated TRINIDAD-2151:
------------------------------------

    Status: Patch Available  (was: Open)
    
> Missing new JSF 2 signatures on ServletExternalContext
> ------------------------------------------------------
>
>                 Key: TRINIDAD-2151
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2151
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.2-core
>         Environment: n/a
>            Reporter: Gary VanMatre
>
> The ServeletExternalContext extension of the external context doesn't implement the "encodeRedirectURL"
method and ends up calling on the base "JSF RI" implementation in ExternalContext.  This code
is even more confusing as it reference a private "defaultExternalContext" that has no way
to set its value.  Odd way to implement an abstract interface class IMO.
>     public String encodeRedirectURL(String baseUrl,
>                                     Map<String,List<String>> parameters)
{
>         if (defaultExternalContext != null) {
>             return defaultExternalContext.encodeRedirectURL(baseUrl, parameters);
>         }
>         throw new UnsupportedOperationException();
>     }
> We need to implement a few more of these newer JSF 2 signatures on the ServeletExternalContext.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message