struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance <lance.semm...@marketpipe.com>
Subject Re: Best practice - Wizard flow
Date Thu, 24 May 2007 14:49:12 GMT
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message