数据未在表单输入显示标记中正确绑定到bean

时间:2017-10-03 12:54:10

标签: spring tags display

<display:table name="command.stationList" class="displaytag" id="row">
<display:column title="Short">
<form:input path="stationList[${row_rowNum-1}].shortName"/>
<form:input path="stationList[${row_rowNum-1}].shortName"/>
</display:column>
</display:table>

在上面的代码中,短名称没有更新到其右侧索引,而是在保存页面后随机分配给其他行。你能否告诉我是什么原因造成的?以及如何解决这个问题。

0 个答案:

没有答案