WebSphere Portal Server - Re: Fire Action of Portlet on other page

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > May 2004 > Re: Fire Action of Portlet on other page





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Fire Action of Portlet on other page
gpinkham

2004-05-25, 11:33 pm

This is what I did.. I assigned a unique name to a page in the portal.. then coded this in my portlet jsp...

(wps:urlGeneration compositionNode="Struts_Receiver_Portlet" contentNode="Struts_Receiver_Page" portletWindowState="maximized")
(wps:urlParam name="TESTPARAM" value="TEST" /)
(A HREF="(%wpsURL.write(out);%)" style="text-decoration:none" **bean:write name="overviewFormBean" property="addressLinkName" /)1(/a)
(/wps:urlGeneration)

This generates a link to the page Struts_Reciever_Page and passes it a request paramter of TESTPARAM.. kinda like foo.html?TESTPARAM=test....

What I really want is to pass it to directly to the action of Struts_Reciever_Portlet.... First time in my action class gets fired and I can check the request parameter.. 2nd and subsequent times in I only see the jsp page...

GaRy....

PS.. I replaced all the < and > with ( )
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com