If I were doing this I would do it either in the validate() or reset() functions of my form bean during the load action.
Edgar -----Original Message----- From: Renato Aganippe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:18 AM To: 'Struts Users Mailing List' Subject: Re: How to Format default input text value according to user request? Miguel, Thanks for your answer but I don't have any problem with <bean:write> tag but with <html:text> tag. Regards, Renato ----- Original Message ----- From: "M�guel �ngel Mulero Mart�nez" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 10:13 AM Subject: RE: How to Format default input text value according to user request? > The Locale object exists in the Actions. Use an Action before the JSP > that creates this bean. In this way you can format the text before > call the <bean:write> > > Regards, > Miguel > > -----Mensaje original----- > De: Renato Aganippe [mailto:[EMAIL PROTECTED]] > Enviado el: mi�rcoles, 11 de diciembre de 2002 9:48 > Para: Struts Users Mailing List > Asunto: How to Format default input text value according to user > request? > > Hello everybody, > > Please help, I can't get through this problem and it drives me crazy! > > I need to initialize the default field value from a <html:text> tag > with a timestamp field from a Bean according to the user's request > Locale. > > I am looking for an equivalent of formatKey attribute from > <bean:write> > > Thanks a lot, > > Renato > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

