There is discussion of this same problem that I have in: http://opensource.atlassian.com/proj...ator=printable
There is provided a example in JSP page:
My problem is that I don't know how to read values in controller from this form.Code:<c:forEach items="${person.addresses}" var="address" varStatus="loopStatus"> <spring:bind path="person.addresses[${loopStatus.index}].street"> Street: <input type="text" name="<%= status.getExpression() %>" value="<%= status.getDisplayValue() %>"> </spring:bind> <p> <spring:bind path="person.addresses[${loopStatus.index}].zip"> Zip: <input type="text" name="<%= status.getExpression() %>" value="<%= status.getValue() %>"> </spring:bind> <p> </c:forEach>
If somebody has implemented similar, could somebody provide an example?
Thanks in advance.


Reply With Quote