FormMaps and indexed elements/collections
Bradley Hill <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
I haven't seen any examples or mention of it in the mail archives, but this has to be a common issue. I'm looking to create forms with indexed property sets, e.g. name1, name2, nameN, value1, value2, valueN. I don't know until runtime how many of these properties there will be. Is there a way to handle arrays and collections of values in the Barracuda forms validation package? Struts will recognize and map parameters with names like "name[n]" and insert them properly into beans with indexed getter/setter methods. Is there similar functionality in Barracuda or would it be easy for me to add? Thanks, Brad Hill Developer Great-West Life [email protected]