hello,
I have an ognl expression inside a @For component and I'm using tap 4.1.1

"ognl:id + '-cg-' + (index + 1)"

the index is an int property.
I expect the result to be:

comp-cg-1
comp-cg-2
comp-cg-3
etc. but instead I've back

comp-cg-01
comp-cg-11
comp-cg-21

How to sum index + 1 and append the result to the string ?

Of course I could add a method to the java component getIndexPlus1(), but
it's ugly.

Thx,
kiuma

Reply via email to