velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Holt <jackch...@gmail.com>
Subject Re: Getting the "key" out of a Hashtable
Date Tue, 24 May 2005 15:47:04 GMT
Sorry.  Somehow I never ran across the FAQ, but I've read it now like
a good little programmer. ;^)

On 5/23/05, Shinobu Kawai <shinobu.kawai@gmail.com> wrote:
> Hi Jack,
> 
> > 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)
> >      $route
> > #end
> >
> > How would I get the key of each entry?
> >
> > Do I need to use a Vector of Vectors instead perhaps?  What would you suggest?
> 
> How about reading the FAQ?  ;)
>   http://wiki.apache.org/jakarta-velocity/VelocityFAQ
> 
> Best regards,
> -- Shinobu
> 
> --
> Shinobu Kawai <shinobu.kawai@gmail.com>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 
>

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


Mime
View raw message