you can write a converter that strips any commas/periods from input. override getconverter() on the textfield.
-igor On Feb 13, 2008 8:53 AM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi All > > I'm having a problem with TextField on wicket 1.2.6. > > I must format the integer numbers, so, when the number is 123456780 it will > be formated as 123,456,789 or 123.456.789 (according to user locale). The > problem is that when I submit the form, the validation fails because > 123,456,789 is not a valid integer number. > Is there a way to solve this? > Thanks in advance! > Marco > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]