Author: dbiatenia
Date: 2007-07-25 10:18:13 -0400 (Wed, 25 Jul 2007)
New Revision: 1845
Modified:
trunk/ui/tooltip/src/main/config/component/toolTip.xml
trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java
trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltip.jspx
trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltipblock.jspx
Log:
zorder implementation
Modified: trunk/ui/tooltip/src/main/config/component/toolTip.xml
===================================================================
--- trunk/ui/tooltip/src/main/config/component/toolTip.xml 2007-07-25 14:12:08 UTC (rev
1844)
+++ trunk/ui/tooltip/src/main/config/component/toolTip.xml 2007-07-25 14:18:13 UTC (rev
1845)
@@ -48,6 +48,12 @@
<defaultvalue><![CDATA[0]]></defaultvalue>
</property>
<property>
+ <name>zorder</name>
+ <classname>int</classname>
+ <description>The same as CSS z-index for toolTip.</description>
+ <defaultvalue><![CDATA[99]]></defaultvalue>
+ </property>
+ <property>
<name>oncomplete</name>
<classname>java.lang.String</classname>
<description></description>
Modified: trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java
===================================================================
--- trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java 2007-07-25
14:12:08 UTC (rev 1844)
+++ trunk/ui/tooltip/src/main/java/org/richfaces/component/UIToolTip.java 2007-07-25
14:18:13 UTC (rev 1845)
@@ -96,6 +96,10 @@
public abstract int getDelay();
public abstract void setDelay(int delay);
+
+ public abstract int getZorder();
+
+ public abstract void setZorder(int delay);
public String getUsedElementType(){
Modified: trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltip.jspx
===================================================================
--- trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltip.jspx 2007-07-25 14:12:08
UTC (rev 1844)
+++ trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltip.jspx 2007-07-25 14:18:13
UTC (rev 1845)
@@ -22,7 +22,7 @@
</h:scripts-->
<f:clientid var="clientId"/>
- <span id="#{clientId}" style="position: absolute; display :
none;z-index:99; #{component.attributes['style']}"
class="dr-rich-tool-tip rich-tool-tip
#{component.attributes['styleClass']}">
+ <span id="#{clientId}" style="position: absolute; display :
none;z-index:#{component.attributes['zorder']};
#{component.attributes['style']}" class="dr-rich-tool-tip rich-tool-tip
#{component.attributes['styleClass']}">
<f:call name="utils.encodePassThru" />
<span id="#{clientId}defaultContent"
style="display:none">
<u:insertFacet name="defaultContent" />
Modified: trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltipblock.jspx
===================================================================
--- trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltipblock.jspx 2007-07-25
14:12:08 UTC (rev 1844)
+++ trunk/ui/tooltip/src/main/templates/org/richfaces/htmltooltipblock.jspx 2007-07-25
14:18:13 UTC (rev 1845)
@@ -22,7 +22,7 @@
</h:scripts-->
<f:clientid var="clientId"/>
- <div id="#{clientId}" style="position: absolute; display :
none;z-index:99; #{component.attributes['style']}"
class="dr-rich-tool-tip rich-tool-tip
#{component.attributes['styleClass']}">
+ <div id="#{clientId}" style="position: absolute; display :
none;z-index:#{component.attributes['zorder']};
#{component.attributes['style']}" class="dr-rich-tool-tip rich-tool-tip
#{component.attributes['styleClass']}">
<f:call name="utils.encodePassThru" />
<div id="#{clientId}defaultContent"
style="display:none">
<u:insertFacet name="defaultContent" />
Show replies by date