You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Ford <df...@smart-soft.com> on 2003/04/06 22:19:18 UTC

Re: Creating a DynaActionForm instance

> To create a new DynaActionForm instance, you *must* ask for a new instance
> from the corresponding DynaActionFormClass.  Otherwise, the DynaActionForm
> instance will not know what it's valid properties are:
>
>     DynaActionFormClass dafc =
> DynaActionFormClass.getDynaActionFormClass("formBeanName");
>     DynaActionForm myForm = dafc.newInstance();

That code doesn't compile.

Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org