Re: Weird ListView behaviour on AJAX updates

2017-06-14 Thread Tobias Gierke
Hi Sven, Thanks for clearing this up ! Cheers, Tobias Hi Tobias, this is a well-known idiosyncrasy of a combination of ListView and LoadableDetachableModel: Your delete button accesses the list item's model, thus loading the underlying list. Upon rendering the *old* list is rendered.

Re: Weird ListView behaviour on AJAX updates

2017-06-13 Thread Sven Meier
Hi Tobias, this is a well-known idiosyncrasy of a combination of ListView and LoadableDetachableModel: Your delete button accesses the list item's model, thus loading the underlying list. Upon rendering the *old* list is rendered. When the next request comes in, the underlying list

Weird ListView behaviour on AJAX updates

2017-06-13 Thread Tobias Gierke
Hi, While trying to debug an AIOOBE that happens when a user opened the same page in multiple tabs (the page renders a repeater where users can remove items by clicking a button), I came across some interesting behaviour. I created a tiny example project to show it: