Hi
Thanks for the pointers.

I have tried doing the following and yet to see the expected result (i.e
re-render the list view with the new items)

1 .Using an entirely new Model instance, and seting it using setModel
2. When the Listview is created I have said setReuseItems(true)
3. When the model has changed I execute the listview.removeAll() (prior to
updating the model)// as per documentation  removeAll is to be called if
model changed
4. Since we say setModel() wouldn't that call modelChanged()? Anyways I have
expliclty invoked modelChanged

Bascially, I have got the ListView inside a panel.The panel is wrapped
inside the WebmarkupContainer.

thanks again
Niv


On Fri, Aug 6, 2010 at 6:57 PM, Wilhelmsen Tor Iver <toriv...@arrive.no>wrote:

> > this.setModelObject(updatedModelInstance);
>
> Are you sure you do not mean setModel() instead of setModelObject() here?
>
> Also, look into whether you use setReuseItems(true) on the listview, then
> you probably want modelChanged() somewhere too.
>
> - Tor Iver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to