2002. december 12. 02:29 dátummal Charles ezt írtad:
> Hi all,
>
> Can a DynaValidatorForm be in session scope? Whenever I submit a page that
> uses a DynaValidatorForm, which is in session scope, it resets itself and
> all the previously stored data are lost. I did not call the form reset
> function at all. I thought by adding the scope="session" attribute in the
> tag, the form would save previously entered data in the session. However it
> seems to behave as though its in request scope.  Is this normal with using
> dynamic form beans?
>
> Tried searching the message list at nagoya but the search function doesn't
> seem to be working.

It is sad, because this was answered multiple times. You might want to extend 
DynActionForm and override the reset(). Maybe depending on an extra property 
of the form-property wheter or not do you want to reset it. The extra 
property can be set in the struts-config.xml via <set-property> tags. 

Hth,

Tib

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to