You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2014/03/12 11:05:48 UTC
[5/7] git commit: WICKET-5531 Create new placeholder tag to indicate
where header contributions should appear
WICKET-5531 Create new placeholder tag to indicate where header contributions should appear
Remove the usage of the tag namespace when checking where the tag should be transformed from openClose to open+close.
The namespace is dynamic (it depends) on the xmlns: for the page. We cannot hardcode namespaces in the list of tags to expand
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/66fd9d41
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/66fd9d41
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/66fd9d41
Branch: refs/heads/5531-wicket-header-items
Commit: 66fd9d41b24ac4010542d75f4566bf9978f7728b
Parents: b77ce25
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Mar 12 11:52:54 2014 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Mar 12 11:52:54 2014 +0200
----------------------------------------------------------------------
.../wicket/markup/parser/filter/OpenCloseTagExpander.java | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/66fd9d41/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/OpenCloseTagExpander.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/OpenCloseTagExpander.java b/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/OpenCloseTagExpander.java
index c8d8581..7b0ddfe 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/OpenCloseTagExpander.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/OpenCloseTagExpander.java
@@ -80,19 +80,12 @@ public class OpenCloseTagExpander extends AbstractMarkupFilter
return super.nextElement();
}
- /**
- *
- */
@Override
protected MarkupElement onComponentTag(final ComponentTag tag) throws ParseException
{
if (tag.isOpenClose())
{
String name = tag.getName();
-// if (tag.getNamespace() != null)
-// {
-// name = tag.getNamespace() + ":" + tag.getName();
-// }
if (contains(name))
{