I am using PopupDateField
component of vaadin and it only allows to select the Day not with time. Is there any other component in vaadin that this capability is or is there any way I can change the PopupDateField to support time choosing?
This is my code now
PopupDateField popupDateFieldScheduled = new PopupDateField();
popupDateFieldScheduled.setImmediate(false);
popupDateFieldScheduled.setWidth("-1px");
popupDateFieldScheduled.setHeight("-1px");
popupDateFieldScheduled.setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
The default resolution of a DateField in Vaadin 7 is Day. You can configure it by using DateField#setReolution, i.e. popupDateFieldScheduled.setResolution(Resolution.SECOND)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With