• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic