Hi Sven, Thank you for the update. I will check why they are not detached... They should.
Tnx again. -- "No subestimes el poder de la gente estúpida en grupos grandes" El vie, 03-06-2011 a las 09:00 +0200, Sven Meier escribió: > Hi, > > with resuseItems=true the listview will reuse items *on render*, but > this doesn't change whether model objects are serialized into the > session or not. > > It rather seems that you're not detaching your models properly. I'd make > a wild guess that you keep references to your persistent objects in your > row components. > > Best regards > Sven > > > On 06/03/2011 04:56 AM, Gonzalo Aguilar Delgado wrote: > > Hello, > > > > I used to refresh all the components in the listview for each http > > transaction. > > > > But now I tried to use the: > > > > setReuseItems(true); > > > > When using a ListView. Documentation says that is a must (but I made it > > to work without it). > > > > The problem is that now the objects are serialized and deserialized and > > not loaded from database in each http transaction. Result is that I > > always get the following error: > > > > Row was updated or deleted by another transaction (or unsaved-value > > mapping was incorrect) > > > > > > How can I avoid this error and use the setReuseItems(true)? > > > > Thank you in advance. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org