I would like to keep away from this method...
Any other suggestions???
 

-----Original Message-----
From: Lance [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 24, 2007 10:49 AM
To: Struts Users Mailing List
Subject: Re: Best practice - Wizard flow

Why not draw all 3 pages but hide 2 of them and javascript the next page

on and off.
All pages inside the same form, last page submits.

Charbel Abdul-Massih wrote:
> I am developing a wizard type flow with 3 pages in the wizard...
>
>  
>
> We'll call them page 1, page 2, and page 3...
>
>  
>
> I need users to be able to navigate between pages with a next/previous
> button, without losing any data that was entered in any of the pages.
> The last submit from page 3 will store everything to the database.
>
>  
>
> What is the best way to model this in struts.xml...ie: how many action
> mappings is recommended.  Do I have one action mapping for the view,
and
> one for each submit??? I would like to keep away from the session if
> possible.
>
>  
>
> Any suggestions would be appreciated.
>
>  
>
> Thanks,
>
> Charbel
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to