That's just wired.

The first idea in my head was, may be there is lacks of brackets in
your expression.

But then I checked the document of OGNL:

http://www.opensymphony.com/ognl/html/LanguageGuide/apa.html

Accordinting to this document,
the operator [%] has higher precedence than operator [==].

Which means, the original expression without brackets should be same
as the expression with brackets.

So, I did not talk about the brackets thing.


But of cause, it will be much more better to add the brackets.



2010/12/24 JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>:
> I had to put the expression between brackets:
>
> <s:if test="(#fieldNameStatus.index % 10 )==0">xxxxx</s:if>
>
> Thanks
>
> JL
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to