flowCardList为跳转的action的集合属性,集合中的对象为FlowCard,该对象有属性id,status。通过status的值,显示不同的内容,需要通过java代码片来完成。
<display:table name="flowCardList" id="flowCard">
<display:column property="id" sortable="true" titleKey="flowcard.id"/>
<display:column sortable="true" titleKey="flowCard.status">
<%
if(((FlowCard)pageContext.getAttribute("flowCard")).getStatus().equals("N")){
%>
待审批
<% }else if(((FlowCard)pageContext.getAttribute("flowCard")).getStatus().equals("A")){%>
通过
<% }else{%>
驳回
<% }%>
</display:column>
</display:table>
目前还没有研究出通过s:if标签来展示还没研究出来,望指教!!!!!!!