JspTilesViewHandlerImpl doesn't work with Portlets
--------------------------------------------------

         Key: MYFACES-745
         URL: http://issues.apache.org/jira/browse/MYFACES-745
     Project: MyFaces
        Type: Bug
  Components: Implementation  
    Versions: 1.1.1    
 Environment: Windows XP, j2sdk1.4.2_06, JBoss Portal 2.0 + JBoss AS 4.0.2, 
MyFaces 1.1.1RC3
    Reporter: Aimar Tellitu
    Priority: Critical


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to