I have a Problem with the representation of a Date in a DateField.

the years is shown as YY, how can i change this to YYYY?
Problem is, if the year of the Date is 1941 it is represented as 41.
if a user puts in a date like 1.1.41 (means 1941) it would be computed as
2041.
To avoid that i want the user to use YYYY instead.

Is there something like dateField.setDateFormat(DateFormat.MEDIUM)?

Any clues?
-- 
View this message in context: 
http://www.nabble.com/How-to-change-the-representation-of-a-Date-in-a-DateField-tp19645209p19645209.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to