no, i'm not chaining my actions . . . I like to do my actions one at a time.
If nobody knows right off, then this is a non-issue for me, i've worked around it. and my next step is 1.1, not solving it. It is however perplexing, the code executing doesn't even appear to be mine. Loren -----Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 5:44 AM To: Struts Users Mailing List Subject: RE: Why is the reset method called when I submit the form? Are you trying to chain your actions? -----Original Message----- From: Loren Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, 23 January 2003 21:40 To: Struts Users Mailing List Subject: RE: Why is the reset method called when I submit the form? I had similar behavior that I found odd with 1.0.2, the actionform would be populated, reset was then called, and then validate was called. Jeremy, my *solution* was to overwrite reset() to do nothing at all. By creating another method to mimic the reset, I now call reset when it's more advantageous. >I guess struts calls reset in order to save all > your input and then does the validation I don't get that on two assumptions, (clarification appreciated.) 1) Isn't reset() to clear out old data from a bean being recycled, as opposed to a method for saving that old data? 2) Isn't the very role of validating to prevent unruly, non-conforming data from being saved? Loren -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 1:47 PM To: [EMAIL PROTECTED] Subject: RE: Why is the reset method called when I submit the form? I guess struts calls reset in order to save all your input and then does the validation Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -----Original Message----- From: Jeremy Cavagnolo [mailto:[EMAIL PROTECTED]] Sent: January 22, 2003 2:53 PM To: [EMAIL PROTECTED] Subject: Why is the reset method called when I submit the form? It seems that when I submit my form, the reset method is called before the validate method. I am using struts 1.0.2. Any insight? -Jeremy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

