| Author |
How to pass parameters between portlets?
|
Subramanian N V
Greenhorn
Joined: Mar 05, 2008
Posts: 3
|
|
By entering some details in a portlet and clicking submit, the entered parameters should be passed to the another portlet. Can you please any one help on htis? [ March 06, 2008: Message edited by: Subramanian N V ]
|
 |
Dharmesh Chheda
Ranch Hand
Joined: May 08, 2001
Posts: 204
|
|
you can generate a url using the wps:urlGeneration tag here is a link that might be of good help http://publib.boulder.ibm.com/infocenter/wpdoc/v510/index.jsp?topic=/com.ibm.wp.ent.doc/wps/dgn_link.html
|
regards,<br />Dharmesh Chheda
|
 |
Manoj Raghuwanshi
Ranch Hand
Joined: Jun 20, 2004
Posts: 75
|
|
|
please tell me how to do this in JSR168 portlets.
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
You're going to find this a challenge in JSR168. Portlets in a common war can share data in the PortletSession through the APPLICATION scope, but I'm not sure if that solves your problem. I might ask why it's a second portlet that needs the first portlet's data? Could you change the design of the app to be more portal friendly? What about having a single portlet accept the data, but switch on which JSP it might send the data to? Working with the portal requires a mind shift. You have to start thinking like a portal developer, and not a Servlet/JSP developer. Portal requires a mind shift. Maybe you can describe what you're trying to accomplish, as opposed to how you are trying to do it? Maybe we can provide some insight. Good luck! -Cameron McKenzie
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Jonas X. Yuan
author
Ranch Hand
Joined: May 18, 2008
Posts: 108
|
|
Hi As mentioned early, there is a sample way to pass parameters among portlets: by page's parameters. Here is a real example: [ June 14, 2008: Message edited by: Jonas X. Yuan ]
|
Books: Liferay Portal 6.1 Systems Development
|
 |
Anant Jagania
Ranch Hand
Joined: Oct 20, 2004
Posts: 49
|
|
Hi Jonas, Can you please tell me how to pass the page's parameters. Thanks, Anant
|
 |
Anant Jagania
Ranch Hand
Joined: Oct 20, 2004
Posts: 49
|
|
Hi Cameron, I am working on a portal server. But very confused about how to set the requirement with it. I would like to know what mind shift is required to develop portal application. My requirements are somthing like.. i have two different pages having same portlets but portlets needs to show different data. Please advice me.
|
 |
 |
|
|
subject: How to pass parameters between portlets?
|
|
|