You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2010/12/12 10:53:49 UTC

svn commit: r1044779 - /wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java

Author: jdonnerstag
Date: Sun Dec 12 09:53:49 2010
New Revision: 1044779

URL: http://svn.apache.org/viewvc?rev=1044779&view=rev
Log:
Removing Child in IVisitor affects traversal => added a comment in the javadoc
Issue: WICKET-3229

Modified:
    wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java

Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java?rev=1044779&r1=1044778&r2=1044779&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java Sun Dec 12 09:53:49 2010
@@ -2261,6 +2261,10 @@ public abstract class Component
 	/**
 	 * Removes this component from its parent. It's important to remember that a component that is
 	 * removed cannot be referenced from the markup still.
+	 * <p>
+	 * You must not use this method in your callback to any of the
+	 * {@link MarkupContainer#visitChildren(IVisitor)} methods. See {@link href
+	 * https://issues.apache.org/jira/browse/WICKET-3229}.
 	 */
 	public final void remove()
 	{