Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Back button  RSS feed

 
Sally MacFarlane
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a proven way to get around the problem of the back button resetting the JSF context? Having a custom navigation bar seems counter-intuitive, so we're just about to embark on writing our own navigation handler which will handle back button and other navigation events. Wondering if there is a proven strategy for solving this issue?
 
Ganesh Jung
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We use
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
and it works great. The pages become 30kb-50kb longer, because the components tree is serialized into the HTML page instead of the session, but the multi-user-capacity increases, because the appserver has smaller sessions.

Greetz,
Ganesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!