Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3042

CCE: when running in portlet: Remove Servlet dependencies in FaceletViewDeclarationLanguage.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5-SNAPSHOT
    • Fix Version/s: 2.0.5
    • Component/s: Portlet_Support
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              mike_freedman Michael Freedman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: