You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/04/26 08:14:48 UTC

[jira] Moved: (SHALE-3) [shale] TilesViewHandler should not assume ServletResponse and ServletContext

     [ http://issues.apache.org/struts/browse/SHALE-3?page=all ]

Craig McClanahan moved STR-2575 to SHALE-3:
-------------------------------------------

      Project: Shale  (was: Struts Action 1)
          Key: SHALE-3  (was: STR-2575)
    Component:     (was: Shale)
      Version:     (was: Nightly Build)
    Assign To:     (was: Struts Developer Mailing List)

> [shale] TilesViewHandler should not assume ServletResponse and ServletContext
> -----------------------------------------------------------------------------
>
>          Key: SHALE-3
>          URL: http://issues.apache.org/struts/browse/SHALE-3
>      Project: Shale
>         Type: Bug

>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Ronald Holshausen

>
> I am trying to open up a dialog flow in a new window after clicking on a button
> from a JSF portlet, however the application will not load as on the first
> request to the portlet, TilesViewHandler is invoked but with a PortletContext
> and PortletRequest, instead of ServletResponse and ServletContext, which results
> in a ClassCastException.
> Class: org.apache.shale.tiles.TilesViewHandler
> Line:  264
> One possible solution (which I will try implement locally), is to check for a
> ServletContext or Request, and if it is not present, delegate to the default JSF
> view handler.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org