myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-3042) CCE: when running in portlet: Remove Servlet dependencies in FaceletViewDeclarationLanguage.java
Date Wed, 16 Mar 2011 02:26:29 GMT

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

Leonardo Uribe updated MYFACES-3042:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.5-SNAPSHOT
         Assignee: Leonardo Uribe
           Status: Resolved  (was: Patch Available)

Thanks to Michael Freedman for provide this patch

> CCE: when running in portlet: Remove Servlet dependencies in FaceletViewDeclarationLanguage.java
> ------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3042
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3042
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: Portlet_Support
>    Affects Versions: 2.0.5-SNAPSHOT
>            Reporter: Michael Freedman
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.5-SNAPSHOT
>
>         Attachments: jira-myfaces-3042.patch
>
>
> In FaceletViewDeclarationLanguage.java: createResponseWriter(), getResponseEncoding(),
handleFaceletNotFound(), and sendSourceNotFound() each cast to Servlet object.  This causes
ClassCastExceptions when run in a portlet environment.  Each of these calls/casts can be removed
and ExternalContext APIs can be used instead to get/set the needed information from the request
or response object.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message