Re: Help me with my problem in Automatic Validation please

2005-06-28 Thread Michael Jouravlev
I think that the easiest way is not to use automatic validation. Call validate() manually from action class. If errors found, stick your datalist into request object and forward to dataform.jsp. If you want to redirect, append datalist to URL. You would need to create new ActionForward instance.

RE: Help me with my problem in Automatic Validation please

2005-06-28 Thread Marsh-Bourdon, Christopher
] Sent: 28 June 2005 16:54 To: Struts Users Mailing List Subject: Re: Help me with my problem in Automatic Validation please There are two approaches to correcting this. 1. If you are using Sessions, Place the datalist into the session instead of the request. This will insure the datalist is

Re: Help me with my problem in Automatic Validation please

2005-06-28 Thread BHansard
There are two approaches to correcting this. 1. If you are using Sessions, Place the datalist into the session instead of the request. This will insure the datalist is available, but can does add overhead to the application. Additionally, if you do not clean up the data, this can use up memory

RE: Help me with my problem in Automatic Validation please

2005-06-28 Thread Marsh-Bourdon, Christopher
The datalist should probably sit in the session scope rather than request. Until there is an "intermediary" scope, this is probably the most cost-effective method. Just ensure that Action2 performs some cleanup that removes it from the scope when you are done with it. Christopher Marsh-Bourdon ww