Re: Backup ActionForm on ActionError in Action

2004-10-27 Thread Jeff Beal
This is normal behavior. The reset method is only to clear the values of checkbox fields, not to set all fields in the form to initial values. Read the JavaDoc on the ActionForm.reset() method for an explanation. -- Jeff sqdf qsdf wrote: I tested the redirect set false but I don't know why, t

Re: Backup ActionForm on ActionError in Action

2004-10-27 Thread sqdf qsdf
Thank you for your help!!! I tested the redirect set false but I don't know why, the ActionForm is always reset at the end of the execute method. My Struts Config is like this : My ContactForm extends ValidatorForm and I use the tiles to define the path contactCreate. Whe

Re: Backup ActionForm on ActionError in Action

2004-10-26 Thread Andrew Hill
Sounds like the forward you are returning from your execute is redirecting and hence you get a new request object. Check your struts config to make sure it says redirect="false" and not true for that forward. sqdf qsdf wrote: Hi all! When I add an ActionError in the validate method of ActionForm