• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Spring reset portlet state

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Happy New Year Guys,

I'm having some problems with spring and I was hoping you could enlighten me.
I've been searching all over the internet and I haven't found a solution to this, but I'm kind of new and maybe I'm looking for the wrong things.

My problem: I have a Spring portlet (org.springframework.web.portlet.DispatcherPortlet) and it has 2 views. The first displays some personal data and the other allows the changing of personal data. The problem is: I go into the view to change personal data on the portlet, after that I navigate on some other page and I come back to the portlet I find the change personal data view. I know this is the proper behaviour of the portlet (as it remembers it's last state); but what I really need is to display the personal data when I return to the portlet (practically to reset the state of the portlet).

How could I do this? are there any workarounds? Even the smallest suggestion could help.

Cheers,
Horia
reply
    Bookmark Topic Watch Topic
  • New Topic