The Artima Developer Community
Sponsored Link

Java Buzz Forum
Smart Select List

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Smart Select List Posted: Jun 16, 2006 1:50 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Smart Select List
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

I found myself wanting a smart select list that would allow me to bind keystrokes to selections in a nice way.

For example, the good old month drop down.

Do you use the month name? "January" etc

or, do you use the month number? "10"

Most of the time you may think that the name is best, but is it?

For credit card expiration I do not think of the number but rather the month/year combo (e.g. 3/09), so for that drop down I prefer a number.

We could have the best of both worlds:

"10: October"

The problem with this is that select lists iterate over the first character (in this case 1) but it may be nice for people to hit the letter "O" to get directly to October.

A smart month widget could codegen the JavaScript to do the right thing no matter what you user does. A small thing for sure, but little things like this can drive me nuts.

Read: Smart Select List

Topic: Evil or Not? for sale Previous Topic   Next Topic Topic: Making C Suck Less: One #define at a Time

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use