Working with the Grails g:timeZoneSelect tag?

Posted by tinny on Stack Overflow See other posts from Stack Overflow or by tinny
Published on 2010-05-28T06:58:15Z Indexed on 2010/05/28 7:01 UTC
Read the original article Hit count: 250

Filed under:
|
|

I am wanting to use the g:timeZoneSelect tag within my application, problem is im finding the resulting html select to be quite overwhelming.

  1. Over 600 options are being displayed, IMHO this is to much to display to the user. Maybe someone could point me to an example of a much more manageable list of timezones? Maybe you have seen a site that does timezone selection well? Im sure over 600 option is "technically" correct, but this will just look like noise to the user.

  2. The display value of the timezone is to long.

E.g. "CST, Central Standard Time (South Australia/New South Wales) 9.5:30.0"

Just "CST, Central Standard Time" or "Australia/Broken_Hill" would be better

Is there a way to address these issues via tag attributes of some sort (cant find any in the docs) or config that I am unaware of?

Or, is my best bet to wrap an html select within a custom tag lib and "roll my own" solution (Id prefer not to).

Thanks

© Stack Overflow or respective owner

Related posts about grails

Related posts about groovy