Re: Formated integer in TextField

2008-02-13 Thread Igor Vaynberg
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

Formated integer in TextField

2008-02-13 Thread Marco Aurélio Silva
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