Author: abelevich
Date: 2011-02-01 04:18:43 -0500 (Tue, 01 Feb 2011)
New Revision: 21351
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java
Log:
RF-10286 rich:tooltip - @zindex doesn't work
- default zindex constant was added.
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java 2011-02-01
09:17:37 UTC (rev 21350)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TooltipRenderer.java 2011-02-01
09:18:43 UTC (rev 21351)
@@ -70,6 +70,8 @@
public static final String SHOW = "show";
public static final String BEFORE_HIDE = "beforehide";
public static final String BEFORE_SHOW = "beforeshow";
+
+ private static final int DEFAULT_ZINDEX_VALUE = 1000;
private static final RendererUtils RENDERER_UTILS = RendererUtils.getInstance();
@@ -105,7 +107,7 @@
writer.writeAttribute(CLASS_ATTRIBUTE, getStyleClass(component), null);
int zindex = tooltip.getZindex();
if (zindex == Integer.MIN_VALUE) {
- zindex = 1000;
+ zindex = DEFAULT_ZINDEX_VALUE;
}
String style = concatStyles("z-index:"+zindex, getStyle(component));
Show replies by date