[prev in list] [next in list] [prev in thread] [next in thread]
List: taglibs-user
Subject: RE: [INPUT] Generating drop downs with a specific ordering?
From: "Ross, Douglas" <DRoss () Kronos ! com>
Date: 2004-09-21 14:23:33
Message-ID: DC562E9D6A12284F998DBB73E9B4D11EFEBB64 () exchg-e ! KRONOS ! COM
[Download RAW message or body]
I believe you can also use an array of KeyValue-like objects.
-----Original Message-----
From: Kris Schneider [mailto:kris@dotech.com]
Sent: Tuesday, September 21, 2004 8:45 AM
To: Tag Libraries Users List; a.beech@bigpond.net.au
Subject: Re: [INPUT] Generating drop downs with a specific ordering?
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 <a.beech@bigpond.net.au>:
> 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:kris@dotech.com>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic