Two Laptop Bag
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


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "managed-bean-scope = wizard scope" Watch "managed-bean-scope = wizard scope" New topic
Author

managed-bean-scope = wizard scope

remove ps
Greenhorn

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
Greenhorn

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
http://blogs.steeplesoft.com
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17142
    
  27

"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!


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:

http://myfaces.apache.org/tomahawk/uiSaveState.html


SCJP, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: managed-bean-scope = wizard scope
 
It's not a secret anymore!