struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <new...@pingsite.com>
Subject Re: No getter method servlet Exception. using DynaActionForm
Date Wed, 16 Nov 2005 15:48:45 GMT
fea jabi wrote:

>>         DynaActionForm setupForm = (DynaActionForm) form;
>>
>>         ModuleConfig moduleConfig = 
>> RequestUtils.getModuleConfig(request,
>> getServlet().getServletContext());
>>         FormBeanConfig formConfig =
>> moduleConfig.findFormBeanConfig("CustForm");
>>         DynaActionFormClass dynaClass =
>> DynaActionFormClass.createDynaActionFormClass(formConfig);
>>
>>         try {
>>             setupForm = (DynaActionForm)dynaClass.newInstance();
>
Why do you do this?

There's a mismatch between what you have in the config file and what 
you're doing here, which seems totally inexplicable. I thought that 
custom form stuff should occur in a custom request processor anyway.

Dave



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


Mime
View raw message