Here is the entire contents of my init method: if (form == null) { form = new DynaValidatorActionForm(); }
You can never simply instantiate a DynaBean and use it; it needs to be configured to know what it's properties are. (Well, the LazyDynaBean is changing this, but...)
You should use Struts' normal mechanisms for looking up a form bean instance. Since Struts 1.2.1, the FormBeanConfig object has acted as a "factory" for beans, so this means looking up the FBC object and calling it's "createActionForm(ActionServlet)" method.
ModuleConfig has a findFormBeanConfig(String) method; you get the current ModuleConfig by calling ModuleUtils.getInstance().getModuleConfig(HttpServletRequest, ServletContext);
Hope that helps.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]