This content has been marked as final.
Show 1 reply
-
1. Re: Jboss portal 2.7.2 + seam portlet bridge 2.0.0-BETA download file
pikkioso.marco.ronconi.email.it Jan 15, 2010 6:14 PM (in response to pikkioso.marco.ronconi.email.it)Hello,
i'have developed a portlet with :seam 2.2.0.GA
portlet bridge 2.0.0-BETA
Jboss AS 4.2.3
Jboss portal 2,7.2
i'have an action seam for the download of file pdf....
.... FacesContext fc = FacesContext.getCurrentInstance(); RenderResponse renderResponse = (RenderResponse) fc.getExternalContext().getResponse(); OutputStream os = renderResponse.getPortletOutputStream(); ....
but returns the following class cast exception :
java.lang.ClassCastException: org.jboss.portal.portlet.impl.jsr168.api.ActionResponseImpl cannot be cast to javax.portlet.RenderResponse
Do you have any tips ?
Tnk.
Cheers !