On Tue, Oct 12, 2010 at 5:07 PM, Zeldor <pgronkiew...@gmail.com> wrote:

>
> Changing it to :
>
> private TextField<Long> hire_worker_1 = new
> TextField<Long>("hire_worker_1",
> new Model<Long>());
>             {
>            hire_worker_1.setType(Long.class);
>            }
>
> Does not change anything. And is it normal that Eclipse does not let me add
> anything without enclosing in { }?
>

Seems like you have a syntax error.... perhaps a problem with an anonymous
inner class.  You can use Pastebin to paste entire file and we can attempt
to help.


> BTW, is there any easy way to convert nulls to 0 when you submit empty
> TextFields?
>

Create an IConverter and override getConverter


-- 
Jeremy Thomerson
http://www.wickettraining.com

Reply via email to