This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Issue in JSR portal development

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am working in RAD6 with Websphere portal server 5.1. I am using JSR 168 with JSF of Sun RI.

My portlets are retaining the state within the same session. I have set the expiration cache of the Portlet to '0' in the portlet.xml and also programmatically but to no effect. Example i have two pages search and home page.When I do a search and then go to home page, and then come back to the search page I get the search results .But actually i need only the initial state of the search page.

When I move to a page in Portal, I need to see the initial view of the Portlet with the Backing Bean re-initialized.

Please let me know if there you know of any way t o solve this problem?
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah, that's a tough one. It goes against Portal paradigms. Portlets keep their state even as you navigate away from them, and that's how Portal is designed.

By the way, if you're using RAD 6 with WebSphere Portal, you might as well use the JSF libraries that come with RAD 6 for Portal. They are quite good, though a little buggy sometimes. The tooling works rather well too. Plus, they are integrated much better than the Sun RI with RAD 6 and Portal, and if you have issues, you can always call Tech Support
 
No, tomorrow we rule the world! With this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic