I guess I was missing something, as in:

DatePicker#setCurrentMonth(java.util.Date);

If you #setValue( ) the UI doesn't auto-magically switch to that month..you
have to do it programmatically or I guess force it to with a change handler.

Nevermind...nothing to see here...



On Tue, Oct 27, 2009 at 12:21 PM, davis <[email protected]>wrote:

> Hi, I'm using com.google.gwt.user.datepicker.client.DatePicker.
>
> However, if I set the value such as:
>
> datePicker.setValue(date);
>
> where date is some java.util.Date object, I was expecting the
> DatePicker to show the highlighted date, but it does not seem to.  It
> instead just defaults to the current date.
>
> It isn't 100% obvious to me after viewing the javadoc that there is
> some alternative API I should be calling to make this hapen.
>
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/datepicker/client/DatePicker.html#setValue%28java.util.Date%29
>
> Am I missing something?
>
> Regards,
> Davis
>

--~--~---------~--~----~------------~-------~--~----~
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