Hi everybody,
with a german Locale the following two labels have different output
new Label("label1", new Model(123456789.0)) ----> 123.456.789
new Label("label2", new Model(123456789)) ----> 123456789
I am not quite sure why Double and Integer are handled differently when it
comes to grouping - is there an elegant way to change this application wide,
so that label2 has the same number format as label1?
I have been looking around the web for solutions, but it only came up with
having a custom Label with a custom Converter or a custom model... I am not
sure whether this would be really best-practice, so if anyone knows better,
I'd be glad to hear from you.
Again, thanks in advance for your friendly help :)
--
View this message in context:
http://www.nabble.com/change-localized-number-format-globally-in-application-tp18983927p18983927.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]