ICEfaces
  1. ICEfaces
  2. ICE-5974

Portlet allow Servlet JSF processing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta1
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 2.0, PortletFaces bridge

      Description


      When a resource URL such as /icefaces/resource/MjAyNjQwNTE1MA==/icefaces.jpg

      is obtained via the call

      facesContext.getApplication().getViewHandler().getResourceURL(context, path)

      the resulting URL:

      http://localhost:8080/component-showcase-portlet/icefaces/resource/MjAyNjQwNTE1MA==/icefaces.jpg

      Cannot be fetched from the Faces Servlet (in the example mapped to /icefaces/*):

      java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacade cannot be cast to javax.portlet.PortletContext
      org.portletfaces.bridge.context.ExternalContextFactoryImpl.getExternalContext(ExternalContextFactoryImpl.java:32)
      com.sun.faces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:89)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:298)

        Activity

        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Neil Griffin [ ngriffin7a ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Beta2 [ 10242 ]
        Assignee Priority P1
        Ted Goddard made changes -
        Assignee Neil Griffin [ ngriffin7a ] Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: