Ok, that's not about your problem, though you should know it. I'll put together a test for your issue now.
Eelco On 9/13/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Before you look any further, did you read/do: > http://wicket.sourceforge.net/wiki/index.php/Listviews_in_a_form ? > > Eelco > > > On 9/13/05, Jim McBeath <[EMAIL PROTECTED]> wrote: > > I am working on an app with a form containing a table where some of the > > cells are editable. The model for the app is a bean with a property > > for the data whose value is a List of Lists. At the bottom, I create a > > CheckBox or TextField using the ListItem passed to me in populateItem. > > Since my models are all chained back to the original model, I expected > > that when I submitted the form, the data in my app model would be updated. > > However, this does not happen. From looking at the code for ListItemModel, > > it looks like the new value gets stored in the ListItemModel itself > > rather than getting stored in the List from which that model was created. > > > > ListItemModel.setObject() line 95 sets a local "object" variable rather > > than setting the data into the underlying list in the same way as it > > accesses it in ListItemModel.onAttach() line 70. > > > > Am I reading this correctly? Shouldn't it be updating the List itself? > > I can do this myself in an onModelChanged() method, but it seems like I > > shouldn't have to. > > > > This is in rc1. > > > > -- > > Jim McBeath > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
