I don't think you missed anything-- I just forgot about the reset methods
signature :)
-- Levi
----- Original Message -----
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 15, 2001 8:41 PM
Subject: Re: FormTag and ActionForm.reset
> > This was logged as an Enhancement request in the Apache Bug Database--
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2108
>
> Thanks - sorry I should have looked there first.
>
> > On the other hand, most ActionForms aren't designed for reuese (&
probably
> > shouldn't be). So it should be quite safe to make this call from your
> child
> > ActionForms constructor.. (Make sure its a no-arg constructor too :)
>
> But the beauty of the reset method is that it gets a handle to the request
> so it can initialize fields based on that if necessary, and that would be
> impossible at instantiation time with a no-args constructor unless I'm
> missing something.
>
> Erik
>
>
>