I can't understand how to use the bootstrap widget datetimepicker in my gwt java web application. I've found a lot of examples but all about html usage. I just know that I have to declare a Datetimepicker variable, but how about the usage? Thanks. Finally I found that I needed this jar file: https://mvnrepository.com/artifact/org.gwtbootstrap3/gwtbootstrap3-extras/0.9.4 Now I can declare my
DateTimePicker datePicker = new DateTimePicker();
but how about the positioning and the capture of the date and time fired by the user's click? Thanks
Are you using GWT Bootstrap 3 ?
https://gwtbootstrap3.github.io/gwtbootstrap3-demo/#datePicker
Or in java code :
private DatePicker datePicker = new DatePicker();
datePicker.setValue(new Date());
div.add(datePicker);
To add a handler
datePicker.addValidationChangedHandler
To position the datepicker you can just put probably want to use bootstrap Grid system.
When you are just starting with GWT/Bootstrap, I strongly advice you to buy a small book about bootstrap 3. So that you know the basics of bootstrap without GWT. After this, go back to GWT and apply your new knowledge.