velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Holt <>
Subject Getting the "key" out of a Hashtable
Date Mon, 23 May 2005 21:46:16 GMT
I have Spring Web Flow with which I'm using Velocity.  I am using a
Hashtable to pass info to the Velocity template and can successfully
get the value side of each entry using code like this ($routeList is
the Hashtable):

#foreach($route in $routeList)

How would I get the key of each entry?

Do I need to use a Vector of Vectors instead perhaps?  What would you suggest?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message