Here is my simple test class (command object class)
public class Test {
private List<MyEnum> list;
//setters and getters
}
and here is the part od JSP page:
<form:form ......>
<form:select multiple="true" path="list" items="enumvalues">
</form:form>
I would like to bind all selected items from jsp list to my command object list. What is the best way to do this? I know, that I need to write some custom editors but after some tests I have no idea how to achieve that.
I would be grateful for any help.