struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ambaris Mohanty" <>
Subject RE: Extending DynaValidatorForm
Date Mon, 11 Jun 2007 05:07:00 GMT
Thanks David,
But I need sample code. Can u provide it? I got your logic but finding it
difficult to implement. The main problem is how to get the property name at
runtime. I have many forms that extend the DynaValidatorForm.
Thank you,

-----Original Message-----
From: David Durham, Jr. [] 
Sent: Saturday, June 09, 2007 2:46 AM
To: Struts Users Mailing List
Subject: Re: Extending DynaValidatorForm

On 6/8/07, David Durham, Jr. <> wrote:
> On 6/8/07, Ambaris Mohanty <> wrote:
> > Please someone send me the sample code for extending DynaValidatorForm
> > implementing the reset method. I have no idea on how to do it. Please
> > I'm using struts 1.2.9.
> > Thank you,
> HTML has the concept of a reset button:
> ...

Hmm, guess you were asking about extending DynaValidatorForm.  I must
have been thinking of some other question that was similar to this
one.  Anyway, a DynaValidatorForm is a DynaBean, so you can call
set("propertyName", "reset Value") from your reset override method.
These API versions aren't exact, but I don't think these classes have
changed much:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message