cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gunter D'Hondt <gunter.dho...@sofico.be>
Subject [SOLVED] Re: decimal formatting
Date Fri, 28 Jan 2005 10:58:30 GMT
Indeed, with nl_BE it didn't work but it does with fr_FR !!!

now the Woody part is solved (it uses the fr_FR) and for the xsl I used 
the following:

<xsl:decimal-format name="belgian" decimal-separator="," 
grouping-separator="." />
<xsl:value-of select="format-number($price, '#.###,00', 'belgian')"/>

Thank you all!

Regards,
Gunter D'Hondt







Bertrand Delacretaz <bdelacretaz@apache.org> 
28-01-2005 10:50
Please respond to
users@cocoon.apache.org


To
users@cocoon.apache.org
cc

Subject
Re: decimal formatting






Le 28 janv. 05, à 10:20, Gunter D'Hondt a écrit :

> Bertrand,
>
> I've tried that but with no luck; it keeps using the en_US formatting
> instead of nl_BE (or fr_FR); does Cocoon overwrite this in some way?...

I don't think so, but what might happen is that your JVM doesn't have 
the nl_BE Locale installed.

Unless it's the container that you use to run Cocoon overwrites the 
settings?

The best way to find out is to write some code that gets information 
from the default Locale and prints it out, to see if your settings have 
been taken into account or not.

-Bertrand





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message