aspose file tools
The moose likes JSF and the fly likes managed-bean-scope = wizard scope Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply 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: 12513

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


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
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
 
IntelliJ Java IDE
 
subject: managed-bean-scope = wizard scope
 
Threads others viewed
How much to use session variables?
problem with registration page
Newbie question on resubmit of page not executing bean
Equivalent of servlet init() in JSF
Module and Validation Framework (path error)
developer file tools