2006/4/21, Marco Mistroni <[EMAIL PROTECTED]>: > I have a DynaActionForm. It has two array fields (String[] ownerRef and > Boolean[] suspendPart) and some other fields. I want to populate these > arrays from a form and be able to submit the value from the page. > That's it.
why don't you define a bean, each of which containing two properties: class myBean{ String ownerRef; Boolean suspendPart; // getters and setters ... } Than you may add an array property to your form: myBean[] simpleIterate Iterating through this array, reading and setting properties would be much easier. In your business logic then, you may populate the original arrays -- TREMALNAIK --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]