Hi, Tim. This is right. But also make sure the locale dependent date parsing is done in the action class then, since - I'm not sure whether the validator package can cover localized dateformats - only the controller classes know about the user's locale and therefore the dateformat that should be used
Hiran ----------------------------------------- Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimer Straße 11 80867 München Phone +49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -----Original Message----- > From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 5. Oktober 2004 19:02 > To: 'Struts Users Mailing List' > Subject: RE: textbox format date & i18n date handling > > > 1) I have a java.util.Date field that needs to be displayed in a > > textbox. > > IMHO the way to do this is to have a read/write property in > your bean that delivers and accepts a string. Both can use > SimpleDateFormat class to convert between the string and the > underling Date class. > > -- > Tim Slattery > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]