commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <>
Subject [jelly]
Date Tue, 20 May 2003 02:34:32 GMT
I'm trying to do the following in Jelly and its failing

<j:forEach indexVar="i" begin="1" end="64" step="1">
    <map key="${i}" r="${i/64.0}" g="0" b="0"/>

my map tag sets r,g,b as doubles. when I do:

<j:forEach indexVar="i" begin="0" end="63" step="1">
    <map key="${i}" r="${i}" g="0" b="0"/>

r gets set just great, but if I do the earlier example with


I just get back 0.0 every time. Is this a possible bug in Jexl?

I'm currently using commons-jexl-1.0-beta-1.jar

thanks for any pointers,

View raw message