SubmitLink in List/DataView in Form not working?

2009-08-19 Thread Martijn Lindhout
Hi All,

I almost finished 2 Wicket sites succesfully without any problems, and
now I'm busy with a  third one... but I'm lost... and can't find a
solution in the list so far...

I have a  submitlink in a listview, together with several input fields
(zie HTML below). In code I have:

item.add(new SubmitLink(linkUp){
 public void onSubmit() { ...}
});

And the link doesn't submit

What do I forget?

HTML:

form wicket:id=form

table
tr wicket:id=rows
   tdinput type=radio wicket:id=grade1 //td
   tda href= wicket:id=linkUpup/a/td
/tr
/table


/form

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: SubmitLink in List/DataView in Form not working?

2009-08-19 Thread Martijn Lindhout
shame on me when I copied the raw html from the designers into my
page, I forgot to remove a 'dummy' form object, so there was a nested
form

2009/8/19 Martijn Lindhout mlindh...@jointeffort.nl:
 Hi All,

 I almost finished 2 Wicket sites succesfully without any problems, and
 now I'm busy with a  third one... but I'm lost... and can't find a
 solution in the list so far...

 I have a  submitlink in a listview, together with several input fields
 (zie HTML below). In code I have:

 item.add(new SubmitLink(linkUp){
     public void onSubmit() { ...}
 });

 And the link doesn't submit

 What do I forget?

 HTML:

 form wicket:id=form

 table
 tr wicket:id=rows
   tdinput type=radio wicket:id=grade1 //td
   tda href= wicket:id=linkUpup/a/td
 /tr
 /table


 /form




-- 
Martijn Lindhout
 * 06 - 18 47 25 29
 * mlindh...@jointeffort.nl
 * http://www.jointeffort.nl

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org