• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using ActionResponse SendRedirect

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Maybe he went home and went to bed. And took this tiny ad with him:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic