> Currently, I have a DynaValidatorForm defined in my web app. Some of > the properties of this form will be completely dynamic. I will read a > database and retrieve an ArrayList. This ArrayList will contain the
If I understand you correctly for (Iterator iter = al.iterator (); iter.hasNext (); ) { Field f = (Field) iter.next (); myForm.set (f.getName (), f.getValue ()); } In this case your form will have to be declared in struts-config.xml Having all the possible f.getName () though, otherwise you will get IllegalArgumentException. There is another method in DynaActionForm called getMap () this is your map of key (name) / value pairs. I am not sure if it is mutable, I can't see any setMap (), but you can try that out too. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]