Can you do something like this in a velocity template?
#set ($map = $myobject.getMap() ) #foreach ($mapEntry in $map.entrySet()) $mapEntry.key()&
I'm looking for a way to loop through a HashMap in velocity, and this will work too.
#set ($map = $myobject.getMap()) #foreach( $key in $map.keySet()) $key $resume.get($key) #end
Just like the way you would loop through a HashMap in java.