• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

managed-bean-scope = wizard scope

 
remove ps
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. Is there such a think as wizard scope? There is a wizard, which is a series of web pages asking the user for more and more info, such as when you open a new account. The managed beans of data should probably not be session scope as they will be around for the entire session. Nor should they be request scope, as their value will be needed say 5 pages later, when the user click the submit button. Some browsing on the web helped me to find out about t:saveState, but I'm still trying to figure it out. Has anyone run into this problem before?
 
Jason Lee
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the conversation scope provided by libraries like Seam or Orchestra?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"remove ps"

We don't have many rules here at the JavaRanch, but one we insist on is the use of real names. If you're unclear, this is where we explain it: http://www.javaranch.com/name.jsp .

I'll answer your question, but you'll have to fix your display name first!
 
Ryan Day
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From one JSF newbie to another, I think the uiSaveState Tomahawk component may do what you want:

http://myfaces.apache.org/tomahawk/uiSaveState.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic