blay
27 Dec 2010, 4:26 AM
Hello:
I have this method:
public static DateField createDateStart(){
DateField dateField = new DateField();
dateField.getPropertyEditor().setFormat(
DateTimeFormat.getFormat("dd/MM/y"));
dateField.setFieldLabel(messages.dateStartLbl());
dateField.setLabelSeparator("");
return dateField;
}
The DateField created works fine except when you click on the header menu (just between the arrows for next and previous month), so a menu appears with all months and some years, You can select any combination but when you click ok, nothing happens, I mean, no date is loaded into the dateField box.
Any idea?
I have this method:
public static DateField createDateStart(){
DateField dateField = new DateField();
dateField.getPropertyEditor().setFormat(
DateTimeFormat.getFormat("dd/MM/y"));
dateField.setFieldLabel(messages.dateStartLbl());
dateField.setLabelSeparator("");
return dateField;
}
The DateField created works fine except when you click on the header menu (just between the arrows for next and previous month), so a menu appears with all months and some years, You can select any combination but when you click ok, nothing happens, I mean, no date is loaded into the dateField box.
Any idea?