...
<s:iterator value="schedules" var="schedule">
<tr style="height: 25px; background-color: #F5F5F5;">
<td>${schedule.id }</td>
<td>${schedule.scheduleTitle }</td>
<td>
<s:if test="#schedule.updateType == 1">强制升级</s:if>
<s:if test="#schedule.updateType == 2">可选升级</s:if>
</td>
<td>${schedule.software }</td>
<td>
<s:if test="#schedule.unit == null">全部单位</s:if>
<s:if test="#schedule.unit != null">${schedule.unit }</s:if>
</td>
<td>
<s:if test="#schedule.cascadestatus == null">无级联关系</s:if>
<s:if test="#schedule.cascadestatus == 1">级联</s:if>
<s:if test="#schedule.cascadestatus == 2">不级联</s:if>
</td>
<td>${schedule.beginDate }</td>
<td>
<s:if test="#schedule.status == 1">有效</s:if>
<s:if test="#schedule.status == 2">失效</s:if>
</td>
<td>${schedule.memo }</td>
<td><a href="equipment/abandonSchedule?scheduleId=${schedule.id }">弃用</a></td>
</tr>
</s:iterator>
...
转载于:https://www.cnblogs.com/zhenglongailaopo/archive/2012/11/27/2790449.html