I try to use a DateChooser, but the visual selected day is not modified.
The data is good, i obtain good day with : dateChooser.getData();
But the new selected day is not refresh.
dateRef (old):null
dateRef (new):Fri Feb 06 00:00:00 CET 2009
dateRef (old):Fri Feb 06 00:00:00 CET 2009
dateRef (new):Sat Feb 07 00:00:00 CET 2009
Here is a bug ? or i have missing a method ?
The data is good, i obtain good day with : dateChooser.getData();
But the new selected day is not refresh.
Code:
final DateChooser dateChooser = new DateChooser(); dateChooser.setWidth(200); dateChooser.setHeight(200); dateChooser.addDataChangedHandler(new DataChangedHandler(){ public void onDataChanged(DataChangedEvent event) { System.out.println("dateRef (old):"+dateRef); dateRef = dateChooser.getData(); System.out.println("dateRef (new):"+dateRef); } });
dateRef (new):Fri Feb 06 00:00:00 CET 2009
dateRef (old):Fri Feb 06 00:00:00 CET 2009
dateRef (new):Sat Feb 07 00:00:00 CET 2009
Here is a bug ? or i have missing a method ?
Comment