On Thu, 17 Jan 2008, jnorris wrote: > I have a table implemented using the example AjaxFallbackDefaultDataTable > which works like a charm. I also have a checkbox on the page that is > created with an instance of a class that extends AbstractCheckBoxModel. The > issue I am having is that the model state never changes. I have breakpoints > in both the select() and unselect() methods that never get hit. The > checkbox always renders as checked. In an onClick method for a button I'm > retrieving the state and the value using getObject on the checkbox and it > always set to true.
Some code would really help. I think that for a form component to have its model updated you need to process it either by submitting a form containing that component or by attaching a suitable Ajax behavior that updates its model or submits the form. So just adding a checkbox to a page doesn't get its model value anywhere. 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]