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/18 15:13:03 UTC

git commit: WICKET-4428 Wicket DebugBar: add CSS property "z-index" so it will show above other elements that use z-index

Updated Branches:
  refs/heads/master b524f7987 -> 2e74e97fe


WICKET-4428 Wicket DebugBar: add CSS property "z-index" so it will show above other elements that use z-index


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

Branch: refs/heads/master
Commit: 2e74e97feda839fc78fbff7b28d1c5e5eb7af08b
Parents: b524f79
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Feb 18 16:12:33 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Feb 18 16:12:33 2013 +0200

----------------------------------------------------------------------
 .../apache/wicket/devutils/debugbar/DebugBar.java  |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/2e74e97f/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/DebugBar.java
----------------------------------------------------------------------
diff --git a/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/DebugBar.java b/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/DebugBar.java
index 9a58821..e79fd4e 100644
--- a/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/DebugBar.java
+++ b/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/DebugBar.java
@@ -23,7 +23,6 @@ import org.apache.wicket.Application;
 import org.apache.wicket.AttributeModifier;
 import org.apache.wicket.Component;
 import org.apache.wicket.MetaDataKey;
-import org.apache.wicket.behavior.AttributeAppender;
 import org.apache.wicket.devutils.DevUtilsPanel;
 import org.apache.wicket.markup.head.CssHeaderItem;
 import org.apache.wicket.markup.head.IHeaderResponse;
@@ -54,7 +53,11 @@ import org.apache.wicket.request.resource.PackageResourceReference;
  * <br />
  * You can also add your own information to the bar by creating a {@link IDebugBarContributor} and
  * registering it with the debug bar.
- * 
+ *
+ * <p>The debug bar uses CSS absolute positioning to appear in the top-right corner of the page.
+ * <strong>Important</strong>: if there is an element with a z-index in this part of your page, the DebugBar will need a higher
+ * "z-index" style value to show up. Or you can use different position for it. See wicket-debugbar.css.</p>
+ *
  * @author Jeremy Thomerson <jt...@apache.org>
  * @see IDebugBarContributor
  */