> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 4:38 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: HTML:TEXT tag and Internationalization > > > Hi > > Is there any reasonable argument as to why the html:text tag uses > default (value.toString()) formating, while the bean:write uses a > formatter that is I18N aware. This is really anoying for locales that > normally use comma as a decimal seperator. If you output the > value with > bean:write it will look OK, but displaying it in an html:text it will > use the English dot as a decimal seperator. I think that moving the > formatValue from WriteTag into TagUtils, hence making it > avaiable to all > tags would be a good idea. Then we would have a uniform formatting of > values.
Then again, since html:text is usually used with a form bean, which is supposed to be all strings, you could format them yourself, either in the setter (yuck), or in the action. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]