commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <mdigg...@latte.harvard.edu>
Subject Re: [jelly]
Date Tue, 20 May 2003 02:47:15 GMT
duh, stupid me, I upgraded to beta-2 and it works fine now, sorry for 
the premature posting.

-M.

Mark R. Diggory wrote:
> 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"/>
> </j:forEach>
> 
> 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"/>
> </j:forEach>
> 
> r gets set just great, but if I do the earlier example with
> 
> ${i/64.0}
> 
> 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,
> -Mark
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


Mime
View raw message