struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <ge...@regens.hu>
Subject Re: reset method calls
Date Thu, 05 Dec 2002 12:54:43 GMT
2002. december 5. 13:22 dátummal meissa.Sakho@bpam.fr ezt írtad:
> Can someone explains me when(and why if possible) the reset method of
> Action forms
> is called.

On every reuse of the ActionForm. Because it is necessary for the fields to be 
resetted to a proper state. Think of checkboxes, password fields.

> Is it possible that the reset method is called even when there is no
> explicit call to it ?

There is an explicit call, just it is not you but the framework who calls it.

Hth,

Tib

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message