Re: RadioChoice - what's wrong?

2010-10-11 Thread Jeremy Thomerson
Do you use Eclipse? There is a compiler warning that you can turn on (it should be on by default) that warns against this problem whenever you may inadvertently be hiding other variables. I suggest to everyone I teach that they turn it on (and perhaps even turn it up from warning to error), and

Re: RadioChoice - what's wrong?

2010-10-10 Thread Zeldor
So maybe someone could just show me working RadioChoice code with OnSubmit part? Just how to properly display it and grab data from it :) That should solve the problem, as I would compare and see what I'm doing wrong. -- View this message in context:

Re: RadioChoice - what's wrong?

2010-10-10 Thread andrea del bene
Hello Zeldor, I've red your code and it seems that you define variable rc two times: the first time as form private field and the second time just below between braces. When onSubmit method calls rc.getModelObject() it uses private field rc which was not initialized and so triggers a

Re: RadioChoice - what's wrong?

2010-10-10 Thread Zeldor
-tp2967576p2970427.html To unsubscribe from RadioChoice - what's wrong?, click herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=2967576code=cGdyb25raWV3aWN6QGdtYWlsLmNvbXwyOTY3NTc2fC0xMTUwMjA4NDM=. -- View this message in context: http://apache-wicket

Re: RadioChoice - what's wrong?

2010-10-08 Thread Zeldor
186 is System.out.println(_numbers); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioChoice-what-s-wrong-tp2967576p2967903.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: RadioChoice - what's wrong?

2010-10-08 Thread Igor Vaynberg
in that case either your System or your System.out is null :) -igor On Thu, Oct 7, 2010 at 11:35 PM, Zeldor pgronkiew...@gmail.com wrote: 186 is System.out.println(_numbers); -- View this message in context:

Re: RadioChoice - what's wrong?

2010-10-08 Thread Zeldor
-tp2967576p2967914.html To unsubscribe from RadioChoice - what's wrong?, click herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=2967576code=cGdyb25raWV3aWN6QGdtYWlsLmNvbXwyOTY3NTc2fC0xMTUwMjA4NDM=. -- View this message in context: http://apache-wicket

Re: RadioChoice - what's wrong?

2010-10-08 Thread Igor Vaynberg
--  View message @ http://apache-wicket.1842946.n4.nabble.com/RadioChoice-what-s-wrong-tp2967576p2967914.html To unsubscribe from RadioChoice - what's wrong?, click herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode

Re: RadioChoice - what's wrong?

2010-10-08 Thread Zilvinas Vilutis
Oh come on! no one will want to steal your non-working code! Use http://pastebin.com/ to show your code if you want someone's help ;) Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Thu, Oct 7, 2010 at 11:35 PM, Zeldor pgronkiew...@gmail.com wrote: 186 is

Re: RadioChoice - what's wrong?

2010-10-08 Thread Zeldor
.html To unsubscribe from RadioChoice - what's wrong?, click herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=2967576code=cGdyb25raWV3aWN6QGdtYWlsLmNvbXwyOTY3NTc2fC0xMTUwMjA4NDM=. -- View this message in context: http://apache-wicket.1842946

RadioChoice - what's wrong?

2010-10-07 Thread Zeldor
Hi, I am trying to get through with the very basics of Wicket - radiochoice. But somehow I got stuck and all solutions I tried made my problems even worse... So, what am I doing wrong? I have this code: static final ListString NUMBERS = Arrays.asList(new String[] { 1, 2, 3 }); private

Re: RadioChoice - what's wrong?

2010-10-07 Thread Igor Vaynberg
cant help you without seeing more code and stack -igor On Thu, Oct 7, 2010 at 2:28 PM, Zeldor pgronkiew...@gmail.com wrote: Hi, I am trying to get through with the very basics of Wicket - radiochoice. But somehow I got stuck and all solutions I tried made my problems even worse... So, what

Re: RadioChoice - what's wrong?

2010-10-07 Thread Zeldor
-- View message @ http://apache-wicket.1842946.n4.nabble.com/RadioChoice-what-s-wrong-tp2967576p2967607.html To unsubscribe from RadioChoice - what's wrong?, click herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=2967576code

Re: RadioChoice - what's wrong?

2010-10-07 Thread Jeremy Thomerson
On Thu, Oct 7, 2010 at 5:04 PM, Zeldor pgronkiew...@gmail.com wrote: Caused by: java.lang.NullPointerException at com.spiritia.auth.Registration$1.onSubmit(Registration.java:186) The error is obviously at Registration.java:186 - please show us that code if you can't figure it out. --