-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4987774
By: tombol
Hi to you all!
What I'm trying to do is to pass an attribute to a zk portlet. I want to change the zk_page attribute so in a refresh of the portal with
Executions.getCurrent().sendRedirect(null) to read the attribute and change view page. I also want this function to be per portlet thus not to change the view page of all of ZK portlets of my portal.
I'm using Jboss portal
What I've managed to do so far is to pass an attribute into PortletHttpSession but they read it all portlets and this has as a result a conflict between portlets.
In other words I want to pass an attribute with the name zk_page (as the original attribute )to the renderrequest of the DHtmlLayoutPortlet so to read it and change view page via refresh
And in more simple words I want my links through zul pages inside portlet to work properly inside portlet, and finally to have multiple porlets without conflicts...
please give some simple examples....
Thank you in advance, you will all be life savers if some solution comes into light :)
tom.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4989700
By: tombol
does anyone know how to fix this or it can not be done? Pls answer it is urgent..:-/
thanks
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5011884
By: tombol
Method Executions.getCurrent().getNativeRequest() shouldn't supposed to return PortletRequest or RenderRequest when using ZK as a portlet?
Thanks!
hi,
we have successfully deployed our zk application as a portlet in WebSphere Portal 6.1.5.
what we are trying to achieve now is to trying to get the current logged in user id from our zk applications.. we're using IBM PUMA
authentication libraries and one of the static function requires a PortletRequest.
we have no problem getting HttpServletRequest
HttpServletRequest sRequest = (HttpServletRequest) Executions.getCurrent().getNativeRequest();
but when we tried to obtain PortletRequest from
PortletRequest portletRequest = (PortletRequest) Executions.getCurrent().getNativeRequest(); we get an exception:
com.ibm.ws.webcontainer.srt.SRTServletRequest incompatible with javax.portlet.PortletRequest
thanks..
Asked: 2008-05-26 19:58:06 +0800
Seen: 234 times
Last updated: Jun 14 '12