/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<c:forEach items="${grid.blocks}" varStatus="gridRow"> <spring:bind path="grid.blocks[${gridRow.index}].id"> <c:out value="${status.value}"/> <input type="hidden" name="<c:out value="${status.expression}"/>" id="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>" /> </spring:bind> <spring:bind path="grid.blocks[${gridRow.index}].description"> <c:out value="${status.value}"/> <input type="hidden" name="<c:out value="${status.expression}"/>" id="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>" /> </spring:bind> </c:forEach>
URL: http://mattfleming.com/node/134