I am wondering if there's any way within qooxdoo to implement a short-range
date chooser, where I could limit the choices to a short period of time. For
example, I might wish to have a site displaying weather info, but restrict
the chooseable dates to the last couple of days and the next week, since it
doesn't make much sense to choose a weather forecast date for next June
(it's now December). I think it would be very useful if the DateChooser
could have a restricted range, something like:

today = "12/22/2009";
last = "12/29/2009';
first = "12/20/2009";
chooser = new control.DateChooser(today, first, last);

where the chooser would not allow advancing to January, 2010, going back to
November, or clicking on dates before December 20 or after Dec. 29.

This would be useful anytime there is a limited scope of interesting dates,
such as the player lineup for sports team for the next two weeks, etc.

In the meantime, I am thinking of just having a group of individual buttons,
one for each day in the range I'm interested in. But a general solution
would be nice. Suggestions welcome as well.
Ken
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to