-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philippe,

Pille wrote:
> how can i access the getters and setters in of a DynaValidatorForm from
> within an action method?

You can use them as before.

> when i had a own form class i could do the following in a action method:
> 
> productForm = (MyOwnForm)form;
> 
> productForm.setComboArrayList(comboArrayListWithBeans);
> 
> with a dynamic form i cannot cast anymore or do i have to cast to a
> DynaValidatorForm? is it actually possible to do a cast or do i have to
> implement a ValidatorForm instead of using a DynaValidatorForm?

Oh. Check the javadoc for the DynaValidatorForm to see what methods are
available. You can certainly do what you are trying to do... you just
need to work with the API of the class you are using. I think you're
looking for something like this:

public void set(String name, Object value);

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhqTk9CaO5/Lv0PARAlgKAJ97YrSRcbrQfJJVCetg5LIOD6GlnQCgmLBn
d0j/iIQdIXsGHXrOTLiYuC8=
=BowI
-----END PGP SIGNATURE-----

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

Reply via email to