velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Brisson" <cla...@savoirweb.com>
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.

CloD




---------------------------------------------------------------------
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