Dennis Muhlestein wrote:
I have a hashtable with key/value that get displayed by an html:options
tag.
Works ok, but they are ordered in reverse order of the id. That isn't
any performance problem, but it looks a little strange to the user.
For instance, what if you wanted the options in alphab
Thanks for the comments. Seems to make more sense not to have
any ordering functionality in the html:options tag anyway.
On Wed, 2002-10-30 at 10:40, Dennis Muhlestein wrote:
> I have a hashtable with key/value that get displayed by an html:options
> tag.
>
> Works ok, but they are ordered in
> -Original Message-
> From: Dennis Muhlestein [mailto:dennis@;zserve.com]
> Sent: Wednesday, October 30, 2002 9:41 AM
>
> I have a hashtable with key/value that get displayed by an
> html:options
> tag.
>
> Works ok, but they are ordered in reverse order of the id. That isn't
> any p
Hash Tables don't guarantee order when you pull them out enmasse.
probably best bet is to store it in a list and sort accordingly
(Collections.sort).
Dennis Muhlestein wrote:
I have a hashtable with key/value that get displayed by an html:options
tag.
Works ok, but they are ordered in rever
I have a hashtable with key/value that get displayed by an html:options
tag.
Works ok, but they are ordered in reverse order of the id. That isn't
any performance problem, but it looks a little strange to the user.
For instance, what if you wanted the options in alphabetical order? In
my case
5 matches
Mail list logo