Did you call setReuseItems(true) on your ListView? On Wed, Mar 26, 2008 at 9:12 AM, lizz <[EMAIL PROTECTED]> wrote:
> > I have a page that contains a compound property model that refers to a > loadableDetachable model. > > The domain object in the loadable detachable model contains a collection > of > Person Objects (Person contains a first name and a last name and an age). > > I want to display the persons in a ListView and I want to be able to > change > the first name, last name or age and save the new value. I therefore use > three text fields for each list item. > > The problem is that when I press the save button the changed values has > been > reset back to the original value. Why is the detachable model being > detached > and reloaded before I save the list? > -- > View this message in context: > http://www.nabble.com/LoadableDetachableModel-and-ListView---changes-in-the-list-items-is-lost-when-saving-tp16301505p16301505.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] > > -- Nick Heudecker Professional Wicket Training & Consulting http://www.systemmobile.com Eventful - Intelligent Event Management http://www.eventfulhq.com