PDA

View Full Version : DateField - February



fother
30 Jul 2009, 4:33 AM
type 02/2008 will return the error message showing that isnt a valid date

type 00/2008 accept - will dont accept



public void onModuleLoad() {

final DateField dateField = new DateField();
dateField.setId("periodoDe");
dateField.setFieldLabel("date");
dateField.setAllowBlank(false);
dateField.setPropertyEditor(new DateTimePropertyEditor("MM/yyyy"));

RootPanel.get().add(dateField);
}

fother
30 Jul 2009, 4:52 AM
why this item was moved?

sven
30 Jul 2009, 4:53 AM
Because you havent read the bugforum guidelines and it isnt a bug in GXT.

fother
30 Jul 2009, 4:55 AM
you test this?
Im using GXT2.0.1 and hosted mode win vista

and how isnt a gxt bug?

Arno.Nyhm
30 Jul 2009, 8:08 AM
maybe MM/YYYY is not a valid time because you need a day?


take an eye on this:
Gxt: Feature Requests - Month Picker
http://www.extjs.com/forum/showthread.php?p=366269#post366269

fother
30 Jul 2009, 12:54 PM
http://code.google.com/p/google-web-toolkit/issues/detail?id=3901