Re: numberformat problems
Re: numberformat problems
- Subject: Re: numberformat problems
- From: Michael Engelhart <email@hidden>
- Date: Wed, 7 Jul 2004 07:16:39 -0500
But what is it "localized" from? Is it getting the browser language
settings? If so then it's not working on Mac OS X. If not then what
is the default language? Also the problem is only on Safari and
Firefox running on Mac OS X. When I load the page with IE 6.0 on
Windows XP the formatters without any modification to the ERXLocalizer
works just fine.
Thanks
Mike
On Jul 7, 2004, at 3:07 AM, Anjo Krank wrote:
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").setLocalizedNumberFormatFo
rKey(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.