The following syntax will loop the map and display the value in the map.
To display the loop count, just need to add velocityCount.
Done!!
#foreach($abc in $abcMap)
$abc.get("a") $abc.get("b") $abc.get("c")
#endbbb
To display the loop count, just need to add velocityCount.
#foreach($abc in $abcMap)
$velocityCount $abc.get("a") $abc.get("b") $abc.get("c")
#endbbb
Done!!
No comments:
Post a Comment