Updated Branches: refs/heads/master 8cfcbdc0f -> 600f5dfb1
WICKET-4589 Closing </wicket:container> tag is incorrectly setup as autocomponent Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/600f5dfb Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/600f5dfb Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/600f5dfb Branch: refs/heads/master Commit: 600f5dfb15830288e04e5723fd5237e73de4536e Parents: 45ba90c Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Thu Oct 18 13:46:16 2012 +0200 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Thu Oct 18 13:46:16 2012 +0200 ---------------------------------------------------------------------- .../markup/parser/filter/WicketTagIdentifier.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/600f5dfb/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java b/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java index 00f0fb9..4b387f7 100644 --- a/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java +++ b/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/WicketTagIdentifier.java @@ -85,8 +85,12 @@ public final class WicketTagIdentifier extends AbstractMarkupFilter { // Make it a Wicket component. Otherwise it would be RawMarkup tag.setId(namespace + "_" + tag.getName()); - tag.setAutoComponentTag(true); tag.setModified(true); + + if (tag.isClose() == false) + { + tag.setAutoComponentTag(true); + } } // If the tag is not a well-known wicket namespace tag
