Provide your own IConverter from the TextField to not format number with
radix sign:

add(new TextField("id") {
    @Override public final IConverter getConverter(Class type) {
        return new IntegerConverter();
    }
});

On Fri, Jul 25, 2008 at 2:55 AM, mabel25 <[EMAIL PROTECTED]> wrote:

>
> Hi,
> I have been trying to validate FLOAT values by using the NumberValidator.
> However, when I retrieve values such as '12000' from the database into a
> TextField, the textfield will automatically insert commas to become
> '12,000'
> and it will cause problems when I update the database.
> Can anyone please help? Thank you!
> --
> View this message in context:
> http://www.nabble.com/Float-Validation-tp18648670p18648670.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]
>
>

Reply via email to