Is there any way to explicitly set the grouping symbol for the
<fmt:formatNumber/> tag to use?  Apparently, the pattern it accepts won't
let you use anything but a comma (,) as the grouping separator.  This is
also true of the underlying DecimalFormat class.  It does convert the comma
in the pattern to the Locale dependent grouping symbol, but there is nothing
on the Locale itself to override the the grouping symbol.  

There doesn't seem to be anyway to specify an alternate implementation of
NumberFormat, DecimalFormat, or DecimalFormatSymbols that would allow the
desired behavior with the JSTL LocalizationContext.  NumberFormat appears to
contain a mapping between Locales and grouping symbols, the Locale itself
has not information about grouping symbols.

Does anyone have any suggestions outside of implementing our own custom tag
to do number formatting that mimics <fmt:formatNumber/> in everyway plus
allowing us to specify a custom DecimalFormatSymbol sub-class?

Thomas Gideon
Sr. Software Developer
B2eMarkets

301.230.2236  Tel.
301.230.2248  Fax.
[EMAIL PROTECTED]
www.B2eMarkets.com



--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to