Re: S2 Textfield tag date formatting

2008-04-11 Thread Rene Gielen
As a followup to my own posting: Sorry for not reading properly, of course your problem does not really relate to output formatting. Guillaume is right here IMO, for a fixed Date format a custom TypeConverter should be the way to go, as long as the datepicker does not work for you. Regards, Rene

Re: S2 Textfield tag date formatting

2008-04-11 Thread Rene Gielen
ache.org/2.x/docs/type-conversion.html) it has a note > saying > not to use Type Conversion for dates. > > Does anyone know of a way to do this? > > > Thanks in advance. > > -- View this message in context: http://www.nabble.com/S2-Textfield-tag-date-formatting-tp16600

Re: S2 Textfield tag date formatting

2008-04-10 Thread Guillaume Bilodeau
n ( > http://struts.apache.org/2.x/docs/type-conversion.html) it has a note > saying > not to use Type Conversion for dates. > > Does anyone know of a way to do this? > > > Thanks in advance. > > -- Vi

S2 Textfield tag date formatting

2008-04-09 Thread Steve Akins
I'm trying to use a textfield tag for date input. I need to format this in the form dd/MM/ HH:mm:ss The teaxtfield tag formats the date to a Locale based format DateFormat.SHORT via XWorkBasicConverter. For my locale this turns out to be dd/MM/yy. This is not the format I want. DateTimeP