Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 week ago
data picker eventos...
Alguien tiene algun ejemplo de uso de eventos con el componente date picker.
No consigo encontrar ninguno en internet, libros o en la web de vaadin.
Alguien me puede ayudar?
Last updated on
que tipo de evento necesita implementar?
sample = new InlineDateField();
sample.setValue(new Date());
sample.setImmediate(true);
sample.setTimeZone(TimeZone.getTimeZone("UTC"));
sample.setLocale(Locale.US);
sample.setResolution(Resolution.MINUTE);
...
sample.addValueChangeListener(e -> Notification.show("Value changed:",
String.valueOf(e.getProperty().getValue()),
Type.TRAY_NOTIFICATION));
Last updated on
You cannot reply to this thread.