MinimumValidator and Long problem

2010-10-12 Thread Zeldor
(); ... } }; add(workForm); } Eclipse does like new MinimumValidatorLong(0), so what's the solution for my problem? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MinimumValidator-and-Long-problem-tp2992468p2992468.html Sent from the Users forum

Re: MinimumValidator and Long problem

2010-10-12 Thread Jeremy Thomerson
); } Eclipse does like new MinimumValidatorLong(0), so what's the solution for my problem? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MinimumValidator-and-Long-problem-tp2992468p2992468.html Sent from the Users forum mailing list archive at Nabble.com

Re: MinimumValidator and Long problem

2010-10-12 Thread Zeldor
(); ... } }; add(workForm); } Eclipse does like new MinimumValidatorLong(0), so what's the solution for my problem? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MinimumValidator-and-Long-problem-tp2992468p2992468

Re: MinimumValidator and Long problem

2010-10-12 Thread Jeremy Thomerson
On Tue, Oct 12, 2010 at 5:07 PM, Zeldor pgronkiew...@gmail.com wrote: Changing it to : private TextFieldLong hire_worker_1 = new TextFieldLong(hire_worker_1, new ModelLong()); { hire_worker_1.setType(Long.class); } Does not change anything. And is it

Re: MinimumValidator and Long problem

2010-10-12 Thread Igor Vaynberg
its not a syntax problem. you cant have code outside a method unless its in a static {} block. -igor On Tue, Oct 12, 2010 at 3:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Tue, Oct 12, 2010 at 5:07 PM, Zeldor pgronkiew...@gmail.com wrote: Changing it to : private

Re: MinimumValidator and Long problem

2010-10-12 Thread Jeremy Thomerson
On Tue, Oct 12, 2010 at 5:36 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: its not a syntax problem. you cant have code outside a method unless its in a static {} block. To me, putting code outside a method *is* a syntax problem, typically caused by inexperience with anonymous inner

Re: MinimumValidator and Long problem

2010-10-12 Thread Zeldor
://www.wickettraining.com?by-user=t -- View message @ http://apache-wicket.1842946.n4.nabble.com/MinimumValidator-and-Long-problem-tp2992468p2992859.html To unsubscribe from MinimumValidator and Long problem, click herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp