File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes wizard flow examples? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "wizard flow examples?" Watch "wizard flow examples?" New topic

wizard flow examples?

Ss Wooly

Joined: Aug 07, 2003
Posts: 2
Please could somebody direct me to some complete wizard flow examples using just one Action and ActionForm from multiple pages and updating and collecting informtion throughout the pages?
So, from page 1 you enter in some name, when you get to page 2, you should still be able to access this name and add or update more information (in ActionForm), that should still be able to see in page 3. When using request scope, this doesn't seem to happen, so I was hoping for an example.
Thanks a lot.
Thomas Thomas

Joined: Jun 17, 2003
Posts: 28
Try using session as the scope
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

The cleanest way I have tried is to encapsulate all wizard fields in a separate object.
Then you'll have tags that look like this:

Since your wizard object will be a field in your action form and the action form has a session scope, values you entered in previous pages will be retained.
[ August 12, 2003: Message edited by: Junilu Lacar ]

Junilu - [How to Ask Questions] [How to Answer Questions]
Satish Kulkarni
Ranch Hand

Joined: Jul 19, 2003
Posts: 60
Are there any Wizard Flow examples that I can refere to..

Satish Kulkarni
Ranch Hand

Joined: Jul 19, 2003
Posts: 60
Hi Junilu,
Can you please elobrate on how you achieved the wizard flow with struts...


I agree. Here's the link:
subject: wizard flow examples?
It's not a secret anymore!