Hello,
on the user list nobody could help me with my Problem
about DynaBeans. So I'll give it a try on this list.
In my Application, FormBeans are not simply
the representation of HTML Forms, we sometimes
use them as ValueObjects/DataContainers/DataObjects
(you know what I mean)
Therefore it is sometimes necessary to create
new Form Beans in our Actions. With normal
FormBeans this is obviously no problem, but
how to create DynaActionForm ?
The only way I've found to create them is
ApplicationConfig appConfig =
(ApplicationConfig)request.getAttribute(Action.APPLICATION_KEY);
DynaActionFormClass dynActFoClass =
DynaActionFormClass.createDynaActionFormClass(appConfig.findFormBeanConfig("userForm"));
DynaActionForm dynaForm = new DynaActionForm();
dynaForm.setDynaActionFormClass(dynActFoClass);
But this doesn't wotk because setDynaActionFormClass is private.
Is there another way to create DynaActionFormClass ?
Or is there a general problem using FormBeans as
ValueObjects ?
thanks,
Volker
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>