commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <knut.wannhe...@paranor.ch>
Subject RE: [jelly][jexl] Re: NumberFormat exception when building iterat or ?
Date Wed, 29 Jan 2003 14:48:39 GMT
> > 
> > <j:set var="blop" value="the value of blop"/>
> >   <util:tokenize var="blop-cut" delim=" ">${blop}</util:tokenize>
> >   <j:forEach items="${blop-cut}" var="token">
> >   <log:info>Found word "${token}"</log:info>
> > </j:forEach>
> > 
> 
> Does the body of the <j:set/> tag actually get executed?  My 
> understanding
> was that this is only the case if you don't supply the value 
> attribute.
> Further te result of executing the body will then be the value for the
> variable.
> 

Relying too strongly on indentation practices here...  Of course your
example was right!  At least it made me look at the <j:set/> tag
implementation. ;-)

--
knut

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message