I think it's a simple question, but not for me :?
I have a Wizard Controller, and in one page I must iterate over a list and build a HTML table.
Some part of my jsp code:
<table>
<c:forEach var="item" items="${command.items}" varStatus = "loopStatus">
<tr>
<td style="width: 106px;">
<spring:bind path="command.items[${loopStatus.index}].aProperty">
<input type="text" name="<%= status.getExpression() %>" value="<%= status.getDisplayValue() %>">
</spring:bind>
</td>
.... more TRs ......
</c:forEach>
</table>
I have to add dynamically rows (one row per "item" object) to this table, so I was thinking to add a link to another controller where I fill a new "item" object with some values.
But I don't know how to invoke (forward to) another controller, and then return to the wizard...It's mean, I must redirect to another form managed by another controller, and then return to the wizard, where the new item must be showed like another row.
Sorry, but I don't speak very well in english![]()
Thanks in advance


Reply With Quote