Author: ishabalov
Date: 2007-07-19 22:15:10 -0400 (Thu, 19 Jul 2007)
New Revision: 1730
Modified:
trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
Log:
updated sample
Modified: trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2007-07-20 01:38:48 UTC
(rev 1729)
+++ trunk/samples/tooltip-sample/src/main/webapp/pages/index.jsp 2007-07-20 02:15:10 UTC
(rev 1730)
@@ -14,9 +14,19 @@
<f:verbatim>
<br/><br/>
</f:verbatim>
+ <h:panelGrid columns="1">
+ <h:commandButton value="Tooltip with followMouse mode"
id="btn3">
+ <tt:toolTip followMouse="false" direction="top-left"
mode="ajax" value="#{bean.toolTipContent}"
horizontalOffset="20" verticalOffset="20">
+ <f:facet name="defaultContent">
+ <h:outputText value="Some text will be here soon" />
+ </f:facet>
+ <h:outputText value="Final content" />
+ </tt:toolTip>
+ </h:commandButton>
<h:inputText value="Ajax mode Tooltip with default content"
id="inp1" size="50">
<tt:toolTip id="tt" followMouse="false"
direction="top-right" mode="ajax"
value="#{bean.toolTipContent}" horizontalOffset="20"
verticalOffset="20">
- <f:facet name="defaultContent"><f:verbatim>DEFAULT
CONTENT</f:verbatim>
+ <f:facet name="defaultContent">
+ <h:outputText value="Some text will be here soon" />
</f:facet>
<h:outputText id="ot"
value="#{bean.toolTipContent}"></h:outputText>
<h:commandLink value="Click here to close
window..."></h:commandLink>
@@ -27,6 +37,7 @@
<tt:toolTip value="Tooltip text"
followMouse="true"></tt:toolTip>
</h:commandButton>
+ </h:panelGrid>
<%--a4j:log popup="false" level="ALL"></a4j:log--%>
</h:form>
Show replies by date