:))

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 08 de octubre de 2004 14:15
Para: [EMAIL PROTECTED]
Asunto: SV: Localization


Hi

Welcome to the ugly world of Struts, Commons and Internationalization. I
also had this problem, but solved it by rewriting some of the Struts
tags, registering my own version of DoubleConverter with BeanUtils, and
a couple og other places that I have forgotten. Nevertheless it works. I
had a mailthread on the dev list, but no one there seemed to think that
that this was a problem (ie. "dot" vs. "comma") - I guess their English.

Hermod

-----Opprinnelig melding-----
Fra: Freddy Villalba A. [mailto:[EMAIL PROTECTED]
Sendt: 8. oktober 2004 13:49
Til: Struts Users Mailing List
Emne: Localization


Hi,

I'm having troubles getting a Double property correctly processed by
Struts.
The problem: I'm passing values with European number format (decimal
separator = '.') but Struts seems not to understand this. The bizarre
part
is that, instead of throwing an Exception, it assigns 0.0 to the
property,
therefore making it almost impossible to detect this bug.

I'm almost sure my problem has to do with localization settings. How can
I
configure Struts so that it can process numbers following the European
format instead of US'?

Regards,
Freddy.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence
with
customers as a part of an email.

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


---------------------------------------------------------------------
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]

Reply via email to