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

Reply via email to