I have a problemette with the DatePicker (I'm using 1.3.1 by the way). This is the code I have:
DateTextField dateTextField = new DateTextField( "dateTextField", new PropertyModel( this, "date" ), new StyleDateConverter( "M-", true ) ); add( dateTextField ); dateTextField.add( new DatePicker() ); - taken from the wicket examples. When the dateStyle in the StyleDateConverter is set to "S-", everything looks fine: the date shows correctly in the input field, and after changing it using the widget it still looks right. However if I change the dateStyle to "M-" or "L-" or "F-", the date initially is correct but after changing it in the widget it has the wrong format e.g. selecting 14th Feb 2008 displays 14-2-2008. Any advice will be gratefully received Thanks, Paul -- View this message in context: http://www.nabble.com/DatePicker-tp15332237p15332237.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]