Hello,

I've been through the same recently with dates formatting.  Sounds like
we did exactly the same thing, seen on the web where others have also
done the same.  Do you remember the reasoning for not handling it within
struts?  I wanted to see if maybe there was a good reason for this that
I may be missing or is it just that no one has gotten around to doing
the full i18n features within struts/commons.  If it's the latter, maybe
it'll be worth it for someone to take it on?  From my last email it
sounded like the process is for a person to take it on themselves and
donate it which is presently not possible for me to do.  Would anyone
else on this list have the time to do something like this?

Figured I'd hope for the best.

Regards...djsuarez

 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 08, 2004 7:15 AM
To: [EMAIL PROTECTED]
Subject: 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]

Reply via email to