multiselect form inputs only populate first string selected

2004-08-17 Thread Adam Murray
When I try to use a multiselect input (html:select multiple="true"), it works fine as long as the associated property is a String[]. However, there's a situation where I have a dynamic list of form elements, each of which has its own multiselect input. So I tried changing the property to a List, bu

multiselect with a map-backed form property

2004-08-16 Thread Adam Murray
I have a form with a dynamically generated list of constraints that can be turned on or off, and each constraint has a set of values associated with it. My form has two relevant fields: private String[] selectedConstraints; private Map values; public String[] getSelectedConstraints() { return