Re: Fire Action of Portlet on other page
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Re: Fire Action of Portlet on other page




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Fire Action of Portlet on other page  
Uwe Voigt


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 03:19 AM

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:w
rite name="overviewFormBean" property="addressLinkName" /)1(/a)
> (/wps:urlGeneration)
>
> This generates a link to the page Struts_Reciever_Page and passes it a req
uest paramter of TESTPARAM..  kinda like foo.html?TESTPARAM=test....
>
> What I really want is to pass it to directly to the action of Struts_Recie
ver_Portlet....   First time in my action class gets fired and I can check t
he request parameter..  2nd and subsequent times in I only see the jsp page.
.
>
> GaRy....
>
> PS..  I replaced all the < and > with ( )





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:06 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register