Author: ivaynberg
Date: Thu Apr 19 23:52:05 2007
New Revision: 530670
URL: http://svn.apache.org/viewvc?view=rev&rev=530670
Log:
WICKET-349
Modified:
incubator/wicket/branches/wicket-1.2.x/wicket/src/main/java/wicket/markup/html/list/ListView.java
Modified:
incubator/wicket/branches/wicket-1.2.x/wicket/src/main/java/wicket/markup/html/list/ListView.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.2.x/wicket/src/main/java/wicket/markup/html/list/ListView.java?view=diff&rev=530670&r1=530669&r2=530670
==============================================================================
---
incubator/wicket/branches/wicket-1.2.x/wicket/src/main/java/wicket/markup/html/list/ListView.java
(original)
+++
incubator/wicket/branches/wicket-1.2.x/wicket/src/main/java/wicket/markup/html/list/ListView.java
Thu Apr 19 23:52:05 2007
@@ -498,10 +498,6 @@
*/
public Component setModel(IModel model)
{
- // remove all children; this has no effect when the list
- // didn't render before, as in that case the list view
- // does not yet have any children
- removeAll();
return super.setModel(model);
}