RE: Need to retain the data of the previous page

2003-12-02 Thread Khalid K.
If you have a wizard style pages, then you can declare the form in the session. At the end of the process dump the data to a value object. But in this case, you have to do house cleaning yourself i.e. only validate/populate pages, dump the form at the end etc. etc... So What will happen is:

RE: Need to retain the data of the previous page

2003-12-02 Thread Paul-J Woodward
I recommended this to someone earlier - it might help: http://strutswizard.sourceforge.net/ Paul Global Equity Derivatives Technology Deutsche Bank [/] Office +44 (0)20 754 55458 Mobile +44 (0)7736 299483 Fax +44 (0)20 7547 2752

RE: Need to retain the data of the previous page

2003-12-01 Thread Khalid K.
You have to persist your data. If you declare your form in request scope, then once user clicks on submit on page A, you have to save the data to a Value Object stored in session. Khalid -Original Message- From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003

RE: Need to retain the data of the previous page

2003-12-01 Thread Kalra, Ashwani
Yeah I was thinking of the same approach. I thought if there is better way. Means I have to keep a collection of Page A form beans in session -Original Message- From: Khalid K. [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 11:54 AM To: 'Struts Users Mailing List' Subject: