Icky jexl bug where a variable name containing hyphens is considered 
arithmetic.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


Christian Sell <[EMAIL PROTECTED]> wrote on 23/01/2003 03:38:45 
AM:

> Hi,
> 
> can someone tell me why in the following script,
> 
> <j:jelly xmlns:j="jelly:core">
> 
>      <j:set var="repeat-count" value="5"/>
>      <j:set var="select_name" value="selectedLocale"/>
> 
>      <j:out value="repeat-count=${repeat-count}"/>
>      <j:out value="select_name=${select_name}"/>
> 
> </j:jelly>
> 
> the output is "0" for the first variable, and "selectedLocale" for the 
> second? In particular, why does the expression ${repeat-count} yield a 
> result of Integer(0)?
> 
> - Christian
> 
> 
> --
> To unsubscribe, e-mail: 
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>
> 

> ForwardSourceID:NT000A693E 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to