Re: [Wicket-user] Overriding ListView#getListItemModel

2006-07-20 Thread Johan Compagner
Default the listmodel just stored the index of the list of the ListViewAnd then gets the object from the ListViews list back by that index.But if the list changes the index will return a different object then that ListItem was rendered with. So what you need to do is replace that index with somethi

[Wicket-user] Overriding ListView#getListItemModel

2006-07-20 Thread Alex Objelean
The javadoc of the getListItemModel method of the abstract class ListView states that "Subclasses may provide their own ListItemModel with extended functionality. The default ListItemModel works fine with mostly static lists where index remains valid. In cases where the underlying list changes a