This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Using ActionResponse SendRedirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Using ActionResponse SendRedirect" Watch "Using ActionResponse SendRedirect" New topic
Author

Using ActionResponse SendRedirect

Paul Wam
Greenhorn

Joined: Apr 05, 2009
Posts: 20
I want to pass a parameter to a portlet on a different portal page by adding a query string parameter to a URL. What I wish to accomplish is not working. This is my current code:

Generic Portlet Class


Portalb.jspx


output
resulting url: http://127.0.0.1:7101/portal/faces/portalb.jspx?_afrLoop=118911065651919&myParam=1234&_adf.ctrl-state=g3rc1kuyo_44
Variable myPram: null


The problem is that the value of myParam is null instead of 1234.

Question: How do I get my output to read 1234 instead of null?

*I know that PortletSession is an alternative. I'm testing if I can do this without PortletSession.

 
 
subject: Using ActionResponse SendRedirect
 
Similar Threads
jsr 168 cooperative portlets, help please
Portlet Communication: What is application scope, anyway?
Test 399: IBM WebSphere Portal V5.1, Application Development
About ProcessAction
Websphere Portal - Test 399