I wondered how to handle a multidimensional array of checkbox on spring-mvc. Let's say I have this(By the way I don´t know if this is the correct way to write a multidimensional array of checkboxes on spring, I´m using kind of PHP syntax):
<form:form method="POST" commandName="form">
<input type="checkbox" name="matrix[1][1][]" value="1">
</form:form>
How should be my form class in order to handle my input, a three-dimmensonal array of ints, a three dimmensional array of strings, a class?
Help will be really appreciate
Aucun commentaire:
Enregistrer un commentaire