TextField and Java Number

2011-06-15 Thread Corbin, James
I am creating an input field that should accept numbers only, so I defined my TextField component as follows, TextFieldNumber(String markupId, IModelNumber model) I am forcing the model update by adding AjaxFormComponentUpdatingBehavior(onblur)... The model doesn't appear to be getting

Re: TextField and Java Number

2011-06-15 Thread James Carman
Number is abstract. How is TextField supposed to be able to instantiate one using the text? You can't use one of the subclasses? On Wed, Jun 15, 2011 at 5:20 PM, Corbin, James jcor...@iqnavigator.com wrote: I am creating an input field that should accept numbers only, so I defined my

RE: TextField and Java Number

2011-06-15 Thread Corbin, James
: Wednesday, June 15, 2011 3:30 PM To: users@wicket.apache.org Subject: Re: TextField and Java Number Number is abstract. How is TextField supposed to be able to instantiate one using the text? You can't use one of the subclasses? On Wed, Jun 15, 2011 at 5:20 PM, Corbin, James jcor

RE: TextField and Java Number

2011-06-15 Thread Corbin, James
and Java Number Number is abstract. How is TextField supposed to be able to instantiate one using the text? You can't use one of the subclasses? On Wed, Jun 15, 2011 at 5:20 PM, Corbin, James jcor...@iqnavigator.com wrote: I am creating an input field that should accept numbers only, so I