<ww:iterator value="keywordinfoArray" status="mystatu"> <tr> <td align="center"><input type="checkbox" name="checkboxitem" value="<ww:property value="id"/>" /></td> <td align="center"><ww:property value="id" /></td> <td align="center"><ww:property value="unitCname" /></td> <td align="center"> <a href="keywordinfoView.action?id=<ww:property value="id" />"> <ww:property value="realname" /> </a> </td> <td align="center"><ww:property value="period" /></td> <td align="center"><ww:property value="starttime" /></td> <td align="center"><ww:property value="endtime" /></td>
<td align="center">
//正常输出
<ww:property value="status" />
//根据status值判断输出 <ww:if test="status==/"4/""> 执行成功 </ww:if>
//可以调用一个工具类的静态方法判断并执行这种转换
<ww:property value="@com.ce.domainreg.page.util.PropertyUtil@getLabel(status)" />
</td>
<td align="center"><strong> <a href="keywordinfoEdit.action?id=<ww:property value="id" />">编辑</a> </strong> </td> <td align="center"><strong> <a href="keywordinfoDelete.action?id=<ww:property value="id" />">删除</a> </strong></td> </tr> </ww:iterator>