SmartGWT 5.0 damaged TimeItem. Same code in SmartGWT 4.0 works fine:
In SmartGWT 4.0 "sample Time: 09:23"
In SmartGWT 5.0 "sample Time: :3"
- method getValue() returns correct value in both versions of SmartGwt.
- tested in FF 25.0.1 and IE 11.0.9600.17351
Code:
TimeItem timeItem = new TimeItem("sampleTime", "sample time");
timeItem.setUse24HourTime(Boolean.TRUE);
timeItem.setUseMask(Boolean.TRUE);
timeItem.setInvalidTimeStringMessage("Zadajte čas v správnom formáte HH:mm");
timeItem.setTimeFormatter(TimeDisplayFormat.TOSHORT24HOURTIME);
timeItem.setValue(new Date(2014 - 1900, 10, 10, 9, 23));
DynamicForm form = new DynamicForm();
form.setItems(timeItem);
form.draw();In SmartGWT 5.0 "sample Time: :3"
- method getValue() returns correct value in both versions of SmartGwt.
- tested in FF 25.0.1 and IE 11.0.9600.17351