Re: numberformat problems
Re: numberformat problems
- Subject: Re: numberformat problems
- From: Anjo Krank <email@hidden>
- Date: Wed, 7 Jul 2004 10:07:21 +0200
Am 07.07.2004 um 00:01 schrieb Michael Engelhart:
ACtually - yeah that's it. I just upgraded to Wonder 2.0 this
morning. hmm...
On Jul 6, 2004, at 4:45 PM, Greg Hulands wrote:
I have noticed this too since upgrading to Wonder 2.0. Are you the
same?
That's probably because the date/numberformat is now localized by
default in WOString, WOTextField and WOText...so if you give if a
String "#,##0.0", you get "1.000,0" if the session's localizer is
German.
You can set the formatter to use by using
ERXLocalizer.localizerForLanguage("English").setLocalizedNumberFormatFor
Key(new MyFormat(), "#,##0.0").
I introduced this fix so format strings could be used via D2W rules and
string bindings and still get localized string. More info should be in
ERXLocalizer.
Cheers, Anjo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.