Author: adubovsky
Date: 2009-04-22 10:53:57 -0400 (Wed, 22 Apr 2009)
New Revision: 13767
Modified:
trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
Log:
JS is corrected
Modified: trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2009-04-22 14:44:47
UTC (rev 13766)
+++ trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2009-04-22 14:53:57
UTC (rev 13767)
@@ -16,10 +16,10 @@
<h:panelGrid columns="2">
<h:outputText value="JavaScript API"></h:outputText>
<h:column></h:column>
- <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.doShow(event)"
value="doShow"></a4j:commandLink>
- <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.doHide(event)"
value="doHide"></a4j:commandLink>
- <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.doEnable"
value="doEnable"></a4j:commandLink>
- <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.doDisable"
value="doDisable"></a4j:commandLink>
+ <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.show(event); return
false;" value="doShow"></a4j:commandLink>
+ <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.hide(event); return
false;" value="doHide"></a4j:commandLink>
+ <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.enable(); return
false;" value="doEnable"></a4j:commandLink>
+ <a4j:commandLink
onclick="$('formID:tooltipSubviewID:toolTipID').component.disable(); return
false;" value="doDisable"></a4j:commandLink>
</h:panelGrid>
<h:selectOneListbox value="1" id="ddl">
<rich:toolTip value="1231231" layout="block">
Show replies by date