Author: jdonnerstag
Date: Sun Dec 12 10:03:07 2010
New Revision: 1044780
URL: http://svn.apache.org/viewvc?rev=1044780&view=rev
Log:
fixed: Removing Child in IVisitor affects traversal. Added javadoc comment
Issue: WICKET-3229
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
URL:
http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java?rev=1044780&r1=1044779&r2=1044780&view=diff
==============================================================================
---
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
(original)
+++
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
Sun Dec 12 10:03:07 2010
@@ -2346,6 +2346,10 @@ public abstract class Component implemen
/**
* 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()
{