Does anyone have an idea on this?  I am trying to create a
LazyValidatorForm object in code
--- Norris Shelton <[EMAIL PROTECTED]> wrote:

> FormBeanConfig cfg =
> mapping.getModuleConfig().findFormBeanConfig(name);
> form =(DynaActionForm)
>
DynaActionFormClass.createDynaActionFormClass(cfg).newInstance();
> 
> The cfg object has the properties for my dyna bean, but I get:
> java.lang.IllegalArgumentException: ActionForm is not dynamic
>       at
>
org.apache.struts.config.FormBeanConfig.getDynaActionFormClass(FormBeanConfig.java:84)
>       at
>
org.apache.struts.action.DynaActionFormClass.createDynaActionFormClass(DynaActionFormClass.java:232)
> 
> Here is my method signature:
> public void formDataCopy(ActionMapping mapping,
>                          HttpServletRequest request,
>                          ActionForm form,
>                          String name)
> 
> 
> =====
> 
> Norris Shelton
> Software Engineer
> Sun Certified Java 1.1 Programmer
> Appriss, Inc.
> ICQ# 26487421
> AIM NorrisEShelton
> YIM norrisshelton
> 
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> The all-new My Yahoo! - Get yours free! 
> http://my.yahoo.com 
>  
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=====

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to