The now discontinued GWT Incubator project had a Time option for its
DatePicker:

http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=Spinner

I dunno why the GWT didn't pick up on this feature, but they didn't.

I was using the Incubator's date-time picker before GWT introduced
DatePicker, and I still need a time selector. I now use
com.google.gwt.gen2.picker.client.DateTimePicker. Its DatePicker is
from the trunk, its TimePicker is its own (per javadoc, "TimePicker
widget to enter the time part of a date using spinners").

Since this project is no longer supported, you'll have to spend some
time with the source to remove the classes that no longer compile with
GWT.

On Sep 19, 3:46 am, Alexander Orlov <alexander.or...@loxal.net> wrote:
>                     final DateBox.Format format = new
> DateBox.DefaultFormat(DateTimeFormat.getFormat(DateTimeFormat.PredefinedFormat.TIME_SHORT));
>                     begin.setFormat(format);
>                     begin.hideDatePicker();
>
> I have two problems with this DateBox
>
>    1. I don't want it to show the DatePicker and although *
>    begin.isDatePickerShowing()* reports *false,* every time I click on the
>    DateBox the DatePicker comes down
>    2. I want let the DatePicker not show the Calendar but a "TimeSelector"
>    (I suppose it's not possible?)
>
> To "hide" the DatePicker I could also use a TextBox but in this particular
> case a semantic Date widget would be nice to use.
>
>  Screen Shot 2011-09-19 at 9.36.44 AM.png
> 12KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to