I have a form that extends ActionForm. The form contain a attribute "private Date startDate;" that get value from database.
When the user is logged in the system, I set the session attribute with org.apache.struts.action.Action.LOCALE_KEY, based in the language selected for the user. With <bean:write, it's very well, so the Struts get the format date. ------------- Segue mensagem original! ------------- De: <[EMAIL PROTECTED]> Data: Fri, 5 Mar 2004 20:35:44 +0530 Para: <[EMAIL PROTECTED]> Assunto: RE: RE: FormatKey in html:text Not clear as to how the date is being populated in the text box and what is the post processing action.The possible way of taking care of internationalization of the date format is to specify one in the validation.xml and then use the same to ensure that the date being entered by the user is of the correct format. -----Original Message----- From: Struts Framework [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 7:48 PM To: [EMAIL PROTECTED] Subject: Fwd: RE: FormatKey in html:text Sorry It's a solution, but I need to use internationalization and I can't to fix dd/MM/yyyy. I suggest to implement this functionality - formatKey - in the BaseHandlerTag class. ------------- Segue mensagem encaminhada ------------- De: Parthasarathy Kesavaraj <[EMAIL PROTECTED]> Data: Fri, 5 Mar 2004 18:38:15 +0530 Para: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Assunto: RE: FormatKey in html:text U can give like this i think... <html:text property = "..." format="dd/MM/yyyy"/> With Regards Partha -----Original Message----- From: Struts Framework [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 6:12 PM To: [EMAIL PROTECTED] Subject: FormatKey in html:text I need format a date with dd/MM/yyyy, in the text box. How can I apply formatKey in a tag <html:text ?? Thanks so --------------------------------------------------------------------- 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] U can give like this i think... <html:text property = "..." format="dd/MM/yyyy"/> With Regards Partha -----Original Message----- From: Struts Framework [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 6:12 PM To: [EMAIL PROTECTED] Subject: FormatKey in html:text I need format a date with dd/MM/yyyy, in the text box. How can I apply formatKey in a tag <html:text ?? Thanks so --------------------------------------------------------------------- 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] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. --------------------------------------------------------------------- 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]

