hej allihopa, (<-- sweden is currenty playing)

i have a problem with message resource format keys. i don't really know
if it's a struts issue or a general java issue:


"currencyFormat=EUR 0,00" renders e.g.

- "EUR 4,00" on my "german" ie. 
- "EUR 0,04" on my "english" firefox (which is the correct value,
divided by 100)


"currencyFormat=EUR 0.00" (which is a point instead of a comma) renders
exactly the other way round, e.g.

- "EUR 0.04" on ie
- "EUR 4.00" on firefox


this problem occurs with and without having set the lang and xml:lang
attributes in my html-tag. 
i think the problem is that struts/java interprets the grouping/decimal
separators depending on the browser's locale.


what do i miss? any suggestions?

i don't even care about the "correct" decimal separator in english
browsers, i just want the prices to be displayed correctly... (german's
grouping separator is '.', the decimal separator is ',').



beyond that: what is your stategy organizing your message resources. my
files are getting more and more complex.

i started using something like field.x, general.x, label.x, error.x,
..., but i think about some more classification.


thanks,
ralf


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

Reply via email to