Author: vbaranov
Date: 2008-03-11 05:26:28 -0400 (Tue, 11 Mar 2008)
New Revision: 6675
Modified:
trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
Log:
Update test for
http://jira.jboss.com/jira/browse/RF-2051
Modified: trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2008-03-11 09:26:02 UTC
(rev 6674)
+++ trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2008-03-11 09:26:28 UTC
(rev 6675)
@@ -12,7 +12,7 @@
.abs_div {
position: absolute;
top: 250px;
- left: 100px;
+ left: 200px;
width: 200px;
height: 200px;
overflow: auto;
@@ -40,7 +40,7 @@
<h:commandLink action="#{skinBean.change}" value="set skin"
/>
<f:verbatim>
<br/><br/>
- <div style="position:relative;top:100px;left:100px;">
+ <div style="position:relative;top:100px;left:200px;">
</f:verbatim>
<h:commandButton value="Tooltip with followMouse mode"
id="btn">
<rich:toolTip id="tt" followMouse="true"
direction="top-right" mode="ajax"
value="#{bean.toolTipContent}" horizontalOffset="5"
verticalOffset="5" layout="block">
@@ -88,7 +88,7 @@
<rich:toolTip id="controlledTooltip" followMouse="false"
direction="top-right" value="#{bean.toolTipContent}"
horizontalOffset="5" verticalOffset="5" layout="inline">
</rich:toolTip>
</h:outputText>
-
+
<f:verbatim>
<br />
<span id="controlInput">
@@ -114,6 +114,32 @@
<h:outputText value="Tooltip 2" />
</rich:toolTip>
</h:inputText>
+
+ <f:verbatim>
+ <br /><br />
+ </f:verbatim>
+
+ <h:outputText id="rf_2051_text1" value="Text with
tooltip">
+ <rich:toolTip id="rf_2051_controlledTooltip"
followMouse="false" direction="top-right"
+ attached="false" value="#{bean.toolTipContent}"
horizontalOffset="5"
+ verticalOffset="5" layout="inline">
+ </rich:toolTip>
+ </h:outputText>
+
+ <f:verbatim>
+ <br /><br />
+ </f:verbatim>
+
+ <h:outputText id="rf_2051_text2" value="Another text with
tooltip">
+ </h:outputText>
+
+ <f:verbatim>
+ <br /><br />
+ <span id="rf_2051_controlInput">Mouse down here</span>
+ </f:verbatim>
+
+ <cc:componentControl event="mouseover" operation="show"
for="rf_2051_controlledTooltip" attachTo="rf_2051_text2" />
+ <cc:componentControl event="mouseout" operation="hide"
for="rf_2051_controlledTooltip" attachTo="rf_2051_text2" />
</h:form>
<h:panelGroup style="width: 1000px; height: 10px;"
layout="block"></h:panelGroup>
</f:view>