Try putting in some logic where ever you are assigning the value... like if
it is not set then set it to false... if it is already set don't touch it!

HTH
Nitesh

-----Original Message-----
From: Ben [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 04, 2005 1:05 PM
To: Struts
Subject: ActionForm reset() and redirect.

Hi

My form has some boolean properties and I set them to false in the
reset method. The Action that handles the form has redirect attribute
as true, i.e if there is an error, it redirects to the same page that
has the form with errors. When it redirects with errors, the form
retains values for other properties except the boolean ones. What I
can do to fix this? If I don't set the boolean properties to false in
the reset method, the form works fine.

Please help, thanks.
Ben

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



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

Reply via email to