oh.
sorry for that.
it was late...,
when i answerd on your mail...
:-)
greetings
Matthias
-Original Message-
From: Sheldon Hearn [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 11:38 AM
To: Struts Users Mailing List
Subject: Re: How to reset properties of a DynaValidatorForm
On (2004/01/08 01:00), Matthias Wessendorf wrote:
> i dind´t say, that is reset==initialize()
I wasn't disagreeing with you. I meant "oh, you're right, reset() isn't
what I want, but initialize() is". :-)
Thanks,
Sheldon.
-
To
i dind´t say, that is reset==initialize()
greetings
mw
-Original Message-
From: Sheldon Hearn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 7:09 PM
To: Struts Users Mailing List
Subject: Re: How to reset properties of a DynaValidatorForm
On (2004/01/07 19:03), Matthias
On (2004/01/07 19:03), Matthias Wessendorf wrote:
> but you can
> set the properties to its default,
> is this what you want?
>
> DynaValidatorForm myForm = (DynaValidatorForm) form;
>
> myForm.initialize(actionMapping);
Duh, that's it. reset() != initialize(). initialize() is e
Hi,
a DynaValidatorForm has not
an own reset().
the reset() of DynaActionForm is called
but she doesn´t do anything:
public void reset(ActionMapping mapping, HttpServletRequest request) {
; // Default implementation does nothing
}
but you can
set the properties to its default,
is this wh
You may subclass DynaValidatorForm and override the reset function. As
far as I am aware, the reset is handy for boolean values like checkboxes
wherein you need to reset them back to false or true .
Shishir
-Original Message-
From: Sheldon Hearn [mailto:[EMAIL PROTECTED]
Sent: Wednesda
6 matches
Mail list logo