就是说一点复选框 beanwrite读取出来的数据就可以修改了 然后双击一行 也可以修改 应该怎么写
<table width="900" border="1" cellspacing="0" cellpadding="0" align="center" class="table1">
<tbody id="table">
<tr>
<td width="100"><input type="checkbox" name="ifAll" onClick="checkAll()" ></td>
<td width="200">编号</td>
<td width="200">名字</td>
<td width="200">型号</td>
<td width="200">规格</td>
</tr>
<logic:empty name="itemlist">
<tr>
<td>
<font color="red">没有数据</font>
</td>
</tr>
</logic:empty>
<logic:notEmpty name="itemlist">
<logic:iterate id="item" name="itemlist">
<tr>
<td>
<input type="checkbox" name="selectFlag" class="checkbox1"
value="<bean:write name="item" property="itemNo"/>" >
</td>
<td>
<bean:write name="item" property="itemNo"/>
</td>
<td>
<bean:write name="item" property="itemName"/>
</td>
<td>
<bean:write name="item" property="pattern"/>
</td>
<td>
<bean:write name="item" property="spec"/>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</tbody>
</table>
<table width="900" border="1" cellspacing="0" cellpadding="0" align="center" class="table1">
<tbody id="table">
<tr>
<td width="100"><input type="checkbox" name="ifAll" onClick="checkAll()" ></td>
<td width="200">编号</td>
<td width="200">名字</td>
<td width="200">型号</td>
<td width="200">规格</td>
</tr>
<logic:empty name="itemlist">
<tr>
<td>
<font color="red">没有数据</font>
</td>
</tr>
</logic:empty>
<logic:notEmpty name="itemlist">
<logic:iterate id="item" name="itemlist">
<tr>
<td>
<input type="checkbox" name="selectFlag" class="checkbox1"
value="<bean:write name="item" property="itemNo"/>" >
</td>
<td>
<bean:write name="item" property="itemNo"/>
</td>
<td>
<bean:write name="item" property="itemName"/>
</td>
<td>
<bean:write name="item" property="pattern"/>
</td>
<td>
<bean:write name="item" property="spec"/>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</tbody>
</table>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货