Struts2标签使用之s:iterator
<table id="xmfzrTable" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class='tdcontent'>
<td width="60%" noWrap noWrap status="st">
<tr class='tdcontent'>
<td>
<s:checkbox name="check" onclick="checkA(this)" cssStyle="width:80%" theme="simple"></s:checkbox>
<input type="hidden" name="kt[%{#st.index}].xmid.projectId" value='<s:property value="xmfzr.projectId"/>'/>
</td>
<td width="60%" noWrap cssStyle="width:80%" theme="simple" cssnoWrap cssStyle="width:80%" theme="simple" id="userlist0" cssstyle="cursor: hand;" onclick="addUser(userlist0);return false"/></td>
</tr>
</s:iterator>
</table>
private List <Zktfzrtj> kt;
public List<Zktfzrtj> getKt() {
return kt;
}
public void setKt(List<Zktfzrtj> kt) {
this.kt = kt;
}