processPopulate(...) in RequestProcessor does 1 and 2, processValidate(...)
does 4.

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -----Original Message-----
> From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 8:29 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Why is the reset method called when I submit the form?
> 
> 
> > 1. Struts find the formbean on scope or creates a new one
> > 2. formbean.reset() is called to set all properties to 
> default values
> > 3. formbean is populated from request parameters
> > 4. formbean.validate() is called (if configured)
> 
> Which class makes step 2? ActionServlet? RequestProcessor?
> And step 3? And step 4?
> 
> A long time ago, someone suggested to add a control
> in the struts-config.xml so the reset() is not always mandatory
> but can be disabled in the struts-config.xml.
> 
> May be it sounds like an anti-pattern from the gurus,
> but to me, it sounds like a very interesting option, 
> for real-life apps. Which kind of class should be 
> modified for that?
> 
> Does it sound like an interesting add-on for Struts in general?
> 
> This e-mail is intended only for the above addressee. It may contain
> privileged information. If you are not the addressee you must 
> not copy,
> distribute, disclose or use any of the information in it. If you have
> received it in error please delete it and immediately notify 
> the sender.
> Security Notice: all e-mail, sent to or from this address, may be
> accessed by someone other than the recipient, for system 
> management and
> security reasons. This access is controlled under Regulation of
> Investigatory Powers Act 2000, Lawful Business Practises.
> 
> --
> 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]>

Reply via email to