Problem Description:
The DateTimeItem datepicker always returns a 00:00 for hours minutes. It does fill in the today's date.
I need it to fill in the current hours and minutes at the time of pressing the Today button.
Be sure your post includes:
1. SmartGWT Power nightly build 3/31/2011 and Firefox 3.6.16
2. Here's the code:
The DateTimeItem datepicker always returns a 00:00 for hours minutes. It does fill in the today's date.
I need it to fill in the current hours and minutes at the time of pressing the Today button.
Be sure your post includes:
1. SmartGWT Power nightly build 3/31/2011 and Firefox 3.6.16
2. Here's the code:
Code:
public void onModuleLoad() { DateTimeItem dti = new DateTimeItem(); dti.setDefaultValue(new Date()); DynamicForm f = new DynamicForm(); f.setFields(dti); RootPanel.get().add(f); }