How to use DatePicker with UiBinder

3,190 views
Skip to first unread message

sab...@gmail.com

unread,
Dec 10, 2009, 2:12:02 AM12/10/09
to Google Web Toolkit
any one can help please,

I would like to use DatePicker in UiBinder.

Thank you.

Thomas Broyer

unread,
Dec 10, 2009, 10:52:34 AM12/10/09
to Google Web Toolkit

On Dec 10, 8:12 am, "sab...@gmail.com" <sab...@gmail.com> wrote:
> any one can help please,
>
> I would like to use DatePicker in UiBinder.

And?

xmlns:dp="urn:import:com.google.gwt.user.datepicker.client"

<dp:DatePicker ui:field="myField" />

@UiField DatePicker myField;

Same goes for a DateBox.

Shweta Thainua

unread,
Jun 25, 2019, 11:07:22 AM6/25/19
to GWT Users
Can u tell me how to make are and time picker both in ui binder file

Craig Mitchell

unread,
Jun 28, 2019, 4:55:39 AM6/28/19
to GWT Users
I don't believe GWT supports a Time picker out of the box.  Only date:  http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwDatePicker

A quick search shows that some people have created one:  https://stackoverflow.com/questions/4509655/gwt-time-picker

Or you could use JSNI to bind to a JavaScript one.
Reply all
Reply to author
Forward
0 new messages