my dog learned polymorphism
The moose likes JSF and the fly likes managed-bean-scope = wizard scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "managed-bean-scope = wizard scope" Watch "managed-bean-scope = wizard scope" New topic

managed-bean-scope = wizard scope

remove ps

Joined: Mar 17, 2008
Posts: 2
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

Joined: Mar 03, 2008
Posts: 12
Have you looked at the conversation scope provided by libraries like Seam or Orchestra?

Jason Lee, SCJP
Senior Member of Technical Staff with Oracle
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

"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: .

I'll answer your question, but you'll have to fix your display name first!

An IDE is no substitute for an Intelligent Developer.
Ryan Day
Ranch Hand

Joined: Apr 03, 2006
Posts: 87
From one JSF newbie to another, I think the uiSaveState Tomahawk component may do what you want:

I agree. Here's the link:
subject: managed-bean-scope = wizard scope
It's not a secret anymore!