[s2] Date format in TextField

2008-02-26 Thread Petzsch, Martin
Hi, I want to display editable dates in textfields. I cannot use JavaScript, so datetimepicker isn't an option. Currently the date is displayed as dd/mm/yy if there is a value. How can I change this to be dd/mm/? Many thanks, Martin Capgemini is a trading name used by the

Re: [s2] Date format in TextField

2008-02-26 Thread Richard Sayre
I'm not sure if I understand you correctly but... I want to display editable dates in textfields. This should be as simple as using a textfield (input type=text) as your date field I cannot use JavaScript, so datetimepicker isn't an option. So the user will have to manually enter the date

RE: [s2] Date format in TextField

2008-02-26 Thread Petzsch, Martin
that the textfield should show the date as dd/mm/? Many thanks, Martin -Original Message- From: Richard Sayre [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 17:59 To: Struts Users Mailing List Subject: Re: [s2] Date format in TextField I'm not sure if I understand you correctly but... I want

Re: [s2] Date format in TextField

2008-02-26 Thread Jeromy Evans
Petzsch, Martin wrote: How is it possible to enforce that the textfield should show the date as dd/mm/? See this page: http://struts.apache.org/2.x/docs/formatting-dates-and-numbers.html It also applies to 2.0.x -