Hi list,
Is there a way to prevent the reset() method from being called on the
ActionForm when the validate option in struts-config for that mapping is set
to false?
My problem is that I have an Action to prepare the data for a jsp page and
another Action to process the data from that jsp. Both point to the same
ActionForm class.
In my prep action (/prepare.do), I configured the mapping not to validate
the form, but still I see that the reset() method is being called, very
annoying considering that some properties in my actionform are set to a
default in the constructor (like a checkbox set to true) and that I have
code in reset of the same form to clear checkboxes. Shouldn't reset be
called by the controller only when validate is true?
Thanks for your advise,
Christian Billen