Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-635

JspTilesViewHandlerImpl doesn't work with Portlets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.1
    • None
    • Portlet_Support
    • None
    • Windows XP, j2sdk1.4.2_06, JBoss Portal 2.0 + JBoss AS 4.0.2, MyFaces 1.1.1RC3

    Description

      I have a web application that it works with MyFaces and Tiles (using the View Handler org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.
      I'm trying to make it works as a Portlet. But I have found some problems with JspTilesViewHandlerImpl:

      -getServletMapping can't work because with portlet implementation externalContext.getRequestServletPath() and externalContext.getRequestPathInfo() always return null (see org.apache.myfaces.context.portlet.PortletExternalContextImpl).

      -In many places of this class there are many references to ServletRequest, ServletContext, HttpServletRequest and HttpServletResponse. This type-casting isn't correct when we're working with portlets.

      Attachments

        Activity

          People

            ssilvert Stan D. Silvert
            aimar_tellitu Aimar Tellitu
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: