struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject RE: question regarding DynaActionForm.reset()
Date Mon, 31 Mar 2003 20:44:50 GMT
Scott wrote:
> 2) Does DynaValidatorForm.reset() also do nothing?  According to the
> Javadoc, it should "Reset all properties to their default values",
> when I run the following code snippet in my Action class (the variable
> "form" is the ActionForm object that is given to the method):

Anecdotally, yes, DynaValidatorForm.reset() does nothing.  
You have to implement it in your own form if you want it to do something.

   public void reset( ActionMapping mapping, HttpServletRequest request )

It's documented on DynaValidatorForm's parent, DynaActionForm:

Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message