PDA

View Full Version : Setting Format of a DateField



Daniel Kurka
26 May 2008, 5:22 AM
I cant find anythin in the api on how to set the format of a datefield like

Day.Month.Year (german format)

Is that not implemented or am I missing something?

gslender
26 May 2008, 1:13 PM
DateField uses DateTimePropertyEditorto do this - which might just use the GWT i18n way of determining locale order for date fields. You can also parse DateField a DateTimePropertyEditor that you have configured - which means you can extend DateTimePropertyEditor and fix it yourself.

Daniel Kurka
26 May 2008, 9:50 PM
This is what I was looking for. Thanks