RE: Passing parameters between two portlet in redirect phase

Raffaele Guasco, modified 7 Years ago. New Member Posts: 22 Join Date: 9/20/18 Recent Posts

Hi to All,

 

someone could show me how I can pass the parameters between two portlet, when I redirect one portlet  to another one in different page?

I create the redirection but I'm trying to pass a parameter and I don't know how to do this step.

the method 

actionResponse.setRenderParameter(); doesn't work even if put after 
actionResponse.sendRedirect(redirectURL.toString());

 

Many thanks.

thumbnail
Minhchau Dang, modified 7 Years ago. Liferay Master Posts: 598 Join Date: 10/22/07 Recent Posts
Raffaele Guasco:

someone could show me how I can pass the parameters between two portlet, when I redirect one portlet  to another one in different page?

Add the parameter to your redirectURL.

Jamie Sammons, modified 7 Years ago. New Member Posts: 22 Join Date: 9/20/18 Recent Posts
Hi  Minhchau,
many thanks for the tip. 
I tried, but I don't know how to retrieve the data in the target portlet 
I used PortalUtil and I have the null value.

So I developed a different solution.
Again thanks!

​​​​​​​