I don't think anybody answered you on this. Its quite common to use hidden
tags to store the values as they are passed form to form.


----- Original Message -----
From: "yes I am" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 9:22 AM
Subject: [Webwork-user] wizard behaviour with webwork


> hi everybody
>
> I've implemented a wizard like data entry form:
> with page1.jsp, page2.jsp and page3.jsp.
>
> since it is possible to finish the data entry before
> having reached page3. I have 3 submit buttons: prev, next
> and finish.
>
> all 3 are mapped to commands in an action:
>
> <action name="MyAction" alias="dataentry">
> <command name="wizard" alias="page1">
>   <view name="input">html/page1.jsp</view>
>   <view name="success">html/page2.jsp</view>
>   <view name="error">html/page1.jsp</view>
> </command>
> <command name="wizard" alias="page2">
>   <view name="input">html/page2.jsp</view>
>   <view name="success">html/page3.jsp</view>
>   <view name="error">html/page1.jsp</view>
> </command>
> <command name="wizard" alias="page3">
>   <view name="input">html/page3.jsp</view>
>   <view name="success">html/page4.jsp</view>
>   <view name="error">html/page2.jsp</view>
> </command>
> ..
>
> the problem is that on switching from one
> page to the other I loose my entered data.
>
> do I have to put it in the session object or does
> webwork offer me a better solution?
>
> TIA.
>
> cheers
> -claudio
>
>
> _________________________________________________________________
> Werden Sie Mitglied bei MSN Hotmail, dem größten E-Mail-Service der Welt.
> http://www.hotmail.com
>
>
> _______________________________________________
> Webwork-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webwork-user
>
>



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to