| Uwe Voigt 2004-06-20, 10:19 pm |
| It works the first time but refuses to work on subsequent requests
because the framework decides to *not* invoke the struts action more
than once if it notices request equality. That makes it virtually unusable.
Gary, did you manage to invoke portlet action processing with such a
generated link? I experienced that only doView of the portlet is invoked
even though a parameter was appended to the request.
gpinkham wrote:
> 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 ( )
|