Author: tromanovich
Date: 2008-10-09 04:38:27 -0400 (Thu, 09 Oct 2008)
New Revision: 10699
Modified:
trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp
Log:
Enable and disable JS API functions were removed
Modified: trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp 2008-10-08
16:37:01 UTC (rev 10698)
+++
trunk/test-applications/jsp/src/main/webapp/ContextMenu/ContextMenuProperty.jsp 2008-10-09
08:38:27 UTC (rev 10699)
@@ -59,19 +59,14 @@
</h:selectBooleanCheckbox>
</h:panelGrid>
<br />
+ <h:outputText value="JavaScript API" style="FONT-WEIGHT: bold;"
/>
<h:panelGrid columns="2">
<a4j:commandLink
onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.show(event)"
value="show(event)"></a4j:commandLink>
<a4j:commandLink
- onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.hide(event)"
- value="hide(event)"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.enable()"
- value="enable()"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.disable()"
- value="disable()"></a4j:commandLink>
+ onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.hide()"
+ value="hide()"></a4j:commandLink>
</h:panelGrid>
<br />
<f:verbatim>
@@ -79,16 +74,10 @@
<br />
<a href="#" id="showID">show(event)</a>
<br />
- <a href="#" id="hideID">hide(event)</a>
- <br />
- <a href="#" id="enableID">enable()</a>
- <br />
- <a href="#" id="disableID">disable()</a>
+ <a href="#" id="hideID">hide()</a>
</f:verbatim>
<rich:componentControl attachTo="showID" event="onclick"
for="contextMenuDefaultID"
operation="show"></rich:componentControl>
<rich:componentControl attachTo="hideID" event="onclick"
for="contextMenuDefaultID"
operation="hide"></rich:componentControl>
- <rich:componentControl attachTo="enableID" event="onclick"
for="contextMenuDefaultID"
operation="enable"></rich:componentControl>
- <rich:componentControl attachTo="disableID" event="onclick"
for="contextMenuDefaultID"
operation="disable"></rich:componentControl>
<br/>
<br/>
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
Show replies by date