This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Spring reset portlet state

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • 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
 
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic