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 2010/04/03 19:41:04 UTC
svn commit: r930550 -
/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/border/Border.java
Author: ivaynberg
Date: Sat Apr 3 17:41:04 2010
New Revision: 930550
URL: http://svn.apache.org/viewvc?rev=930550&view=rev
Log:
remove border optimization which caused navomatic to fail
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/border/Border.java
Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/border/Border.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/border/Border.java?rev=930550&r1=930549&r2=930550&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/border/Border.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/border/Border.java Sat Apr 3 17:41:04 2010
@@ -88,7 +88,7 @@ import org.apache.wicket.util.lang.Check
* <p>
* The border body container will automatically be created for you and added to the border
* container. It is accessible via {@link #getBodyContainer()}. In case the body markup is not an
- * immediate child of border (see the example below), than you must use code such as
+ * immediate child of border (see the example below), then you must use code such as
* <code>someContainer.add(getBodyContainer())</code> to add the body component to the correct
* container.
*
@@ -104,7 +104,7 @@ import org.apache.wicket.util.lang.Check
* </html>
* </pre>
*
- * The components "someContainer" in the previous example must be added to the border, and not the
+ * The component "someContainer" in the previous example must be added to the border, and not the
* body, which is achieved via {@link #addToBorder(Component...)}.
* <p/>
* {@link #add(Component...)} or {@link #addToBorderBody(Component...)} will add a child component
@@ -533,10 +533,6 @@ public abstract class Border extends Web
return stream.getMarkupFragment();
}
}
- if (tag.isOpen() && !tag.hasNoCloseTag() && !(tag instanceof WicketTag))
- {
- stream.skipToMatchingCloseTag(tag);
- }
}
stream.next();