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

Michael Freedman updated MYFACES-3042:
--------------------------------------

    Status: Patch Available  (was: Open)

> 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
>         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

        

Reply via email to