Actually, I just realized that the field's model is an primitive int,
not an Integer - I assume JDK5 auto-boxing will take care of that, or do
I have to use a converter?

Michael

-----Original Message-----
From: Maurice Marrink [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 21, 2008 11:36 AM
To: users@wicket.apache.org
Subject: Re: Integer models for textfields?

You can do new TextField(id, model,Integer.class) and the textfield
will automatically convert everything to integers.

Maurice

On Mon, Apr 21, 2008 at 8:25 PM, Michael Mehrle <[EMAIL PROTECTED]>
wrote:
> Do, I have to set up a converter for textfields that use integers as
>  models? Or is that being converted implicitly?
>
>
>
>  Michael
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to