You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2007/04/20 08:52:50 UTC

svn commit: r530671 - /incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/list/ListView.java

Author: ivaynberg
Date: Thu Apr 19 23:52:49 2007
New Revision: 530671

URL: http://svn.apache.org/viewvc?view=rev&rev=530671
Log:
WICKET-349

Modified:
    incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/list/ListView.java

Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/list/ListView.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/list/ListView.java?view=diff&rev=530671&r1=530670&r2=530671
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/list/ListView.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/list/ListView.java Thu Apr 19 23:52:49 2007
@@ -527,10 +527,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);
 	}