Hi Timo, I was in the process of renaming MyModel to UserPageModel when I cut and pasted the code. Anyway I feel a bit stupid after you pointed out that I was using a Link instead of a Button and forgot that onClick() doesn't submit the form. I'm pretty much a newbie when it comes to web apps but I'm learning. Anyway the state of the checkbox is now what I would expect and it works. BTW the purpose of the checkbox was just for my testing of the DB delete operation which can either remove the row from the DB or it can mark the row as being deleted via deleted_by and date_deleted columns depending on a flag setting.
I appreciate your taking time to help me. Thanks, Jim Timo Rantalaiho wrote: > > As it's a Link and not a Button, "deleteLink" might be a > better name. And take on account that just clicking a Link > on the Form probably doesn't submit; you should either use a > FormComponent that submits the form (Button?) or add a > suitable ajax behavior to the Link. > > Did you check how this gets rendered in the end? Declaring > it as a submit input in HTML and Link in Java seems > contradictory. > > Best wishes, > Timo > > -- > Timo Rantalaiho > Reaktor Innovations Oy <URL: http://www.ri.fi/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Checkbox-problem-tp14926922p14949388.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]