You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by va...@bellsouth.net on 2004/05/16 01:30:33 UTC
set default values for form fields - follow-up
I think the answer I got from online resources is I need to use either
DynaValidatorForm or my own ActionForm, but not both. It seems that I could
not overwrite reset(...) method in DynaValidatorForm by extending it.
Correct me if I am wrong. Thanks,
Kathy
----- Original Message -----
From: <va...@bellsouth.net>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Saturday, May 15, 2004 5:24 PM
Subject: Re: How to set an ActionForm to null
> I am using DynaValidatorForm but I need to set the default values for some
> text fields in a form. Therefore, I write a ActionForm which extends
> DynaValidatorForm and use reset method to set default values. The values
> were not shown after the form was loaded.
> I must miss something here. Could anyone provide some hints? Thanks a lot.
>
> Kathy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org