RE: Can we some how persist form values in Struts2 the way we do in struts1.x

2010-03-17 Thread adam pinder
Store the data entered in an object and have it in the session, making the get/set for the object do a get/put into the session. they can change to their hearts content. Date: Wed, 17 Mar 2010 02:52:50 +0530 Subject: Can we some how persist form

Re: Can we some how persist form values in Struts2 the way we do in struts1.x

2010-03-17 Thread sandeep kotha
Hi Scott Got you !! Thank you very much. On 17 March 2010 04:30, stanl...@gmail.com wrote: Hi Sandeep -- One clean way you can do this is by using the ScopedModelDrivenInterceptor http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html . Peace, Scott On Tue, Mar 16,

Can we some how persist form values in Struts2 the way we do in struts1.x

2010-03-16 Thread sandeep kotha
Hi All, We are migrating our application from Struts1.x to Struts2. Let me say we have some 5 pages on each page user enters different data on 5th page we have submit button. Clicking on submit button we insert data entered in all 5 pages to DB. User can navigate to previous pages to change data

Re: Can we some how persist form values in Struts2 the way we do in struts1.x

2010-03-16 Thread stanlick
Hi Sandeep -- One clean way you can do this is by using the ScopedModelDrivenInterceptorhttp://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html . Peace, Scott On Tue, Mar 16, 2010 at 4:22 PM, sandeep kotha sandeep4u.ko...@gmail.comwrote: Hi All, We are migrating our