I understand that DatePicker will allow setting the hour, minute, etc.
if that is set in the Date.  What I'm looking for is a UI like the
incubator's now deprecated DateTimePicker class had.  Otherwise users
are left having to enter a time format correctly in text boxes.

To my mind, DateTimePicker should not be deprecated because the
DateTime widget does not have the full functionality of the former.
As DateTime has CalenderModel/View, I think there should be a
TimeModel/View and the option to display a TimePicker in the
DatePicker.

On May 29, 1:42 pm, Kwame <[email protected]> wrote:
> Hi Thad,
> Have you tried datePicker.setValue(new Date(year, month, date)) or
> to format the output, maybe something like:
>
> String dateString = DateTimeFormat.getMediumDateFormat().format
> (datePicker.getValue());
>
> I have a similar problem. I think the 1.6 DateBox/DatePicker lets you
> format the Date using something called DateBox.Format, but I'm not
> sure how. I've spent many hours looking at the API, and still can't
> figure out how to format the default DateBox textField value)
>
> On May 29, 1:20 pm, Thad <[email protected]> wrote:
>
> > The incubator's DateTimePicker (now deprecated) allowed for setting
> > hour, minute, and AM/PM, a feature my application requires.  I don't
> > see this feature in GWT 1.6's DatePicker.  Am I missing something?  Is
> > this capability coming and when?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to