Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Struts
html:options tag, How can I sort the options?
Jinesh Shah
Greenhorn
Posts: 10
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi:
I am a newbie to
Struts
and am using html:options tag to display options on a web-page. Is there any way to sort the options displayed by this tag, say, by setting an attribute or something?? Please let me know.
Thanks in advance for your help!
SCJP, SCWCD
Marc Peabody
pie sneak
Posts: 4727
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The tag can not sort your collection. Your collection must be sorted before you come to the page.
A good workman is known by his tools.
Jinesh Shah
Greenhorn
Posts: 10
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Cool...Thanks for you input!
SCJP, SCWCD
Iftikhar Arain
Ranch Hand
Posts: 95
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
AbstractList, ArrayList, LinkedList, Vector
you can sort all above list with following method.
Collections.sort(list);
Regards.
SCJP,SCWCD,IBM UML,FLEX & AIR,MCAD,MCSD, Adobe ACE
Jinesh Shah
Greenhorn
Posts: 10
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks! I did it exactly the way you suggested yesterday and submitted my code
SCJP, SCWCD
Why is the word "abbreviation" so long? And this ad is so short?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
html:options onclick
html:options?
struts: html:options tag not working
html:options
html:options tag
More...