You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "David Paterson (JIRA)" <de...@myfaces.apache.org> on 2006/12/20 22:41:24 UTC

[jira] Commented: (TOMAHAWK-635) JspTilesViewHandlerImpl doesn't work with Portlets

    [ http://issues.apache.org/jira/browse/TOMAHAWK-635?page=comments#action_12460061 ] 
            
David Paterson commented on TOMAHAWK-635:
-----------------------------------------

Confirmed identical issue working with Liferay 4.2 and  tomahawkbridge-0.9.

> JspTilesViewHandlerImpl doesn't work with Portlets
> --------------------------------------------------
>
>                 Key: TOMAHAWK-635
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-635
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Portlet_Support
>    Affects 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
>         Assigned To: Stan Silvert
>
> 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