Combining Mapped properties with Indexed properties in Struts
I'm trying to have a dynamic form and, depending on an attribute type, I would like to display a different input style (textfield, radio buttons, dropdown, checklist, ...). In order to have the dynamic form, I've set up the ActionForm with a Map. Map<String, Object> values; public void setValue(String key, Object value); public Object getValue(String key); My problem comes when I try to set up a checklist or multibox. The ActionForm only passes one value, although I would have expected that the String[] would be mapped to the Object argument. Any idea about how can I solve this? EDIT: in the