velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Brisson" <>
Subject Re: foreach in reverse?
Date Thu, 20 Mar 2003 15:52:17 GMT
This issue has already been discussed not a long time ago in the list...

> It you want to retain ordering you should use a List collection or
> something similar, if you're dead-set on using a key->value you could
> use a TreeMap which guarantees ascending key order.

Or if you're using the JDK1.4, your controller can return a LinkedHashMap instead of a HashMap.


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

View raw message