On Wed, 14 Feb 2007, Aaron HIniker wrote:
> When doing an ajax update on a MarkupContainer containing a listview.. I
> am replacing the listview model before the update:

To update a ListView with ajax, I just manipulate its list
instead of replacing the whole model. To make removals work,
I recreate the whole list component on update (do a new
MyListView()...).

This works for me, but if there is a better way to update
ListViews via ajax, I'd be happy to know it.

- Timo

-- 
Timo Rantalaiho
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to