In the Struts Nightly build (since beginning of August) it is now possible
to plug any kind of DynaBean (with a default "empty" constructor) straight
into Struts as an ActionForm. Simply specify the DynaBean class in the
struts-config.xml in the normal way:

<form-bean name="myBean"
      type="org.apache.commons.beanutils.LazyDynaBean"/>

Struts will now "wrap" the DynaBean in a BeanValidatorForm (new class
recently added) which also uses the Struts "validator" framework.

Additionally, if the DynaBean has a DynaClass which implements the
MutableDynaClass interface then it will also configure the forms properties
from those specified in the struts-config.xml (same as for DynaActionForm).



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

Reply via email to