[
https://issues.apache.org/jira/browse/MYFACES-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994548#comment-12994548
]
Mike Kienenberger commented on MYFACES-3042:
--------------------------------------------
Michael, you should have permissions to fix this yourself if you desire.
> 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
>
> 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