在<ec:table> 这个标签里面,怎么得当前行的某一列,然后判断它的值是不是等于一个固定值。如果相同。。。。显示“通过”,如果不等显示“不通过”。
我现在用<s:if test="xxx" 怎么写都取不到当前行的x列的值。
解决方法:
<ec:columnproperty="xxxType" title="业务类型" viewsAllowed="html,compact"styleClass="ecTableBody" headerClass="ecTableHead"style="width:6%;">
<logic:equalvalue="0" property="xxxType"name="notaPad">其他</logic:equal>
<logic:equalvalue="1" property="xxxType"name="notaPad">1业务</logic:equal>
<logic:equalvalue="2" property="xxxType"name="notaPad">2业务</logic:equal>
</ec:column>