> From: Ronald Rotteveel [mailto:[EMAIL PROTECTED] 
> I don't see any function in ActionForm that looks like 
> initialize(mapping);
> I presume you have written your own?

Sorry... I use dynamic forms.  The initialize method comes from
DynaActionForm.  It just sets the values back to the initial values
specified in struts-config.  What you've done is fine.  (I'd probably
set the values to "" if they're Strings to avoid NPE's though.)

> Anyway, it looks like the reset method isn't called. Could it 
> be that my LookupDispatchAction isn't implemented well?

Put a log statement at the top of your reset method and look to see when
it's called.  Even if there is something wrong with your LDA, that
shouldn't preclude Struts calling reset on the form.

Are you saying you have the reset method you posted and you *still* get
"old" values showing up in the HTML form?  Then I'd suspect a config
problem in struts-config.xml-- maybe it's not using the form bean you
think it is??

Post the relevant bits of Action/config/Form and see if another set of
eyes can spot the problem.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to