Seam Debug Listener fails in a portal environment
-------------------------------------------------
Key: JBSEAM-3966
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3966
Project: Seam
Issue Type: Bug
Components: Portal
Affects Versions: 2.1.1.GA
Reporter: Siarhei Yarashevich
Seam Debug Listener fails in a portal environment, when trying to cast External Context
Response to HttpServletResponse:
HttpServletResponse response = (HttpServletResponse)
facesContext.getExternalContext().getResponse();
When a Seam application is run in portal environment, this leads to ClassCastException,
because facesContext.getExternalContext().getResponse() returns an instance of
org.jboss.portletbridge.BufferedRenderResponseWrapper
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira