-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5023142
By: tombol
Hello,
Is there a way to get renderrequest object when running zk as a portlet in JBoss portal?
I can get PortletSession from (PortletSession) Sessions.getCurrent().getNativeSession(); but when I try to get
renderequest or renderesponse from getDesktop().getExecution().getNativeRequest();
getDesktop().getExecution().getNativeResponse() respectively then i get an error of classcastexception;
SEVERE: >>java.lang.ClassCastException:
org.apache.catalina.connector.RequestFacade
Neither is an attribute in portletsession with name javax.portlet.request or so.
How can I retrieve renderrequest and renderresponse to make links so i can redirect from one page to another inside the portlet with
Portlets.include(_portletcontext , renderrequest,renderresponse,"/zulpage.zul"
, null , Portlets.APPEND_PARAM); or something similar?
thank you very much!
Asked: 2008-06-11 11:40:29 +0800
Seen: 212 times
Last updated: Jun 11 '12