velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Chen <alac...@cisco.com>
Subject How to find out looping reference
Date Thu, 10 Oct 2002 23:29:14 GMT
Hi,

I am using the templatetool in the contrib/temporary directory
to get all the references in a template. But I need find out
if a reference is only used in #foreach loop.

For example:

#foreach ($item in $itemlist)
   $item
#end

How can I find out $item is the looping reference?

Any help much appreciated.

-Alan


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message