Have you tried using a SortedMap or LinkedHashMap? You could also use something
from Commons Collections like LinkedMap or one of the other OrderedMap
implementations.

Quoting Adrian Beech <[EMAIL PROTECTED]>:

> G'day,
> 
> Is it at all possible to generate a select list (drop down) with a specific
> order?  For example, I can add the option items to a map like object in a
> given sequence (yeah, yeah... I know this doesn't guarantee the order of
> access is linear!) but when the control is generated the options are
> muddled.  I assume the resulting option elements of the select control are
> ordered by their corresponding hash code?
> 
> Thanks if you can help.
> 
> AB

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to