ActionMessage message = new ActionMessage("ERRORS_MAX_NUMBER",maxNumber);
When this message is finally rendered as HTML, the maxNumber
is shown in format 1,00,000.
The maxNumber
is an int an there is no ',' character in it. And after that when the text is localized to Portuguese the ',' is replaced by '.' and hence the number is shown as 1.00.000
I don't know what is going on. How to explain this behavior?