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
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:
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
-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
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.
-
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:
-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
--
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
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
.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
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
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
--
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
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.
--
14 matches
Mail list logo