Help coderanch get a
new server
by contributing to the fundraiser
  • 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

how to pass dynamic values between porlets ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
I'm trying to pass a dynamic value (which means it can be changed next time) from portlet A to porlet B. I'm able to pass it successfully the first time. However it looks like the old value is cached and next time if I try to pass a new value to B, B is still getting the old value.

In A, it's passed as part of the page's URL where B resides on.
<a href="http://www.pageURLofB.com/test?para1=value1"> click here </a>

The way B receives it is using request.getParameter("para1");

No matter A and B are on different pages or on the same page this issue always happens.

Does anyone why it's reading old value instead of new value? If it's caching issue does anyone know how to disable the caching?

I use Tomcat and Vignette Portal server.

Many thanks

Jia
 
Ranch Hand
Posts: 88
Spring Tomcat Server Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Inter Portlet Communication (IPC) is handeled via portlet events as per JSR286 spec.Which spec are you using?
 
Where does a nanny get ground to air missles? Protect this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic