Hi. If you use the #foreach, it will iterate through all the values
#foreach($item in $Service)
do something with $item
#end
WILL
On 11/29/06, abhishek verma <[EMAIL PROTECTED]> wrote:
Hi,
I am a new user for Velocity.
i have passed one HashMap instance in the VelocityContext.
like :-
VelocityContext context = new VelocityContext();
context.put("Service", map);
where map is the instance of a HashMap which contain key as a String and
Value as a ArrayList.
Now in the Templete file i have to retrieve all the values from this HashMap
instance.
Kindly help me in writing the VTL code..
==Abhishek==
Hewlett-Packard
--
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]