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 2012/02/22 10:28:42 UTC

[2/3] git commit: Set the ComponentTag as 'auto'. Porting this fix from component-queueing branch.

Set the ComponentTag as 'auto'.
Porting this fix from component-queueing branch.


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/d63549cb
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/d63549cb
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/d63549cb

Branch: refs/heads/master
Commit: d63549cb0a87078172bfb9afb3c266609ee83ce3
Parents: a08e446
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Feb 22 10:18:38 2012 +0100
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Feb 22 10:18:38 2012 +0100

----------------------------------------------------------------------
 .../parser/filter/StyleAndScriptIdentifier.java    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/d63549cb/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java b/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java
index 957de64..374a27c 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java
@@ -63,6 +63,7 @@ public final class StyleAndScriptIdentifier extends AbstractMarkupFilter
 				// Not needed, but must not be null
 				tag.setId("_ScriptStyle");
 				tag.setModified(true);
+				tag.setAutoComponentTag(true);
 			}
 
 			tag.setFlag(ComponentTag.RENDER_RAW, true);