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 2013/02/19 08:55:29 UTC

[10/19] git commit: WICKET-5035 set tag to RENDER_RAW only if it is assigned a special id

WICKET-5035 set tag to RENDER_RAW only if it is assigned a special id

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

Branch: refs/heads/reference-guide
Commit: 2706cc7c90db0211b309556dcf9819a9bcd923f3
Parents: fef978e
Author: svenmeier <sv...@apache.org>
Authored: Tue Feb 12 22:08:57 2013 +0100
Committer: svenmeier <sv...@apache.org>
Committed: Tue Feb 12 22:08:57 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/wicket/blob/2706cc7c/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 6973981..be15b74 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
@@ -65,9 +65,9 @@ public final class StyleAndScriptIdentifier extends AbstractMarkupFilter
 				tag.setId("_ScriptStyle");
 				tag.setModified(true);
 				tag.setAutoComponentTag(true);
+				tag.setFlag(ComponentTag.RENDER_RAW, true);
 			}
-
-			tag.setFlag(ComponentTag.RENDER_RAW, true);
+			
 			tag.setUserData("STYLE_OR_SCRIPT", Boolean.TRUE);
 		}