Re: A DateBox where I can select the time and hide the DatePicker

2016-10-13 Thread Piotr Morgwai Kotarbinski
it's a vry old thread, but seems many ppl still have the same problem, 
so regarding 1:
begin.getDatePicker().setVisible(false);


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: A DateBox where I can select the time and hide the DatePicker

2011-09-20 Thread Alexander Orlov
Thx, however I try to avoid third-party extensions as *much as possible*. 
Really, with time their maintenance can become the biggest pain in ones 
behind. So I suppose, I have to use a TextBox.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/v9ZBle-hBP8J.
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.



Re: A DateBox where I can select the time and hide the DatePicker

2011-09-19 Thread Thad
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  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.



A DateBox where I can select the time and hide the DatePicker

2011-09-19 Thread Alexander Orlov
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.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/UMd3rUd43foJ.
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.

<>