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

managed-bean-scope = wizard scope

 
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?
 
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?
 
Saloon Keeper
Posts: 22498
151
Android Eclipse IDE Tomcat Server Redhat Java 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!
 
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
 
please buy my thing and then I'll have more money:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic