Indexed aka nested aka array http input parameters April 11, 2007
Posted by hunterp in code, HTTP, PHP, Spring Framework.add a comment
http://www.springframework.org/docs/reference/validation.html -> 5.4.1. Setting and getting basic and nested properties
is the same in php as receiving form values in an array. AKA <input type=”text” name=”something[1][2]“>
Here’s another article on how to do it in spring.
http://opensource.atlassian.com/confluence/spring/display/DISC/Guide+to+Porting+From+Struts+to+Spring
I combined the mapping technique with the bean property so I’m doing name=”something[index].someValue”
==