I had to put the expression between brackets:

<s:if test="(#fieldNameStatus.index % 10 )==0">xxxxx</s:if>

Thanks

JL

2010/12/21 Li Ying <[email protected]>

> You can put the following debug code in your jsp:
>
> <s:property value="#fieldNameStatus.index" />
> <s:property value="#fieldNameStatus.index % 10" />
> <s:property value="#fieldNameStatus.index % 10 ==0" />
>
> It may help you find out what the result of expression is.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to