On Thu, 27 Feb 2003 14:34:23 -0500
"Sloan Seaman" <[EMAIL PROTECTED]> wrote:
>
> For my edit page, how do I populate a bean for the edit page to use to
> populate the fields? From what I've been reading it seems like I
> don't ahve to write a form class anymore because of the DynaActionForm
> stuff, but I'm a bit confused.
I like to first set up my page by having a mapping submit to a setUp
Action. Then in this setUp action you could just do:
DynaActionForm f = (DynaActionForm) form;
f.set("firstName", "John Doe");
//etc.
then you would just forward to the jsp form.
--
Rick Reumann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]