DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36521>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36521

           Summary: TilesViewHandler should not assume ServletResponse and
                    ServletContext
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Shale
        AssignedTo: dev@struts.apache.org
        ReportedBy: [EMAIL PROTECTED]


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to