【发布时间】:2013-09-07 16:57:01
【问题描述】:
我正在尝试将 listOftriptransactions 列表绑定到单选按钮。在我的情况下,在更新值时,单击单选按钮值后未更新,它采用以前的值。
<table>
<c:forEach items="${listOftriptransactions}" var="trans" varStatus="mystatus">
<tr>
<td>
<form:radiobutton path="${listOftriptransactions[mystatus.index].isReceived}" checked="checked" />yes
<form:radiobutton path="${listOftriptransactions[mystatus.index].isReceived}" checked="checked" />No
</td>
</tr>
</c:forEach>
</table>
如果有其他解决方案,请告诉我。提前谢谢
【问题讨论】:
标签: html spring jsp spring-mvc