[Sorry if this shows up twice. I emailed this in the morning but that didn't show.]
I want a Label to display Integer as 999,999,999 but it's not happening. The problem is in abstractIntegerConverter: public NumberFormat getNumberFormat(Locale locale) { NumberFormat numberFormat = (NumberFormat)numberFormats.get(locale); if (numberFormat == null) { numberFormat = NumberFormat.getIntegerInstance(locale); numberFormat.setParseIntegerOnly(true); numberFormat.setGroupingUsed(false); // <<<<<<<<<<<<<<<< !!! why set to false? numberFormats.put(locale, numberFormat); } return (NumberFormat)numberFormat.clone(); } Because setGroupingUsed(false), IntegerConverter cannot parse locale formatted input like "999,999"(raise conversion exception) or output in locale specific format. DecimalConverter is not like this. Is there some specific reason to call setGroupingUsed(false)? Can we have this remove? -- View this message in context: http://www.nabble.com/IntegerConverter-cannot-parse-or-display-locale-specific-format-like-%22999%2C999%22-tp16540785p16540785.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]