Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.1
-
None
-
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.