commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [jelly] question
Date Thu, 23 Jan 2003 00:01:43 GMT
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 <christian.sell@netcologne.de> 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:commons-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:commons-user-help@jakarta.apache.org>
> 

> ForwardSourceID:NT000A693E 

Mime
View raw message