Author: mvitenkov
Date: 2008-06-17 06:49:09 -0400 (Tue, 17 Jun 2008)
New Revision: 9072
Modified:
trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
Log:
enable, disable, showList & hideList JS API test.
Modified: trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-06-17
10:45:16 UTC (rev 9071)
+++ trunk/test-applications/jsp/src/main/webapp/Combobox/ComboboxProperty.jsp 2008-06-17
10:49:09 UTC (rev 9072)
@@ -56,6 +56,22 @@
<a4j:commandLink
onclick="$('formID:comboboxSubviewID:comboboxID').component.showList()"
value="showList"></a4j:commandLink> <br/>
<a4j:commandLink
onclick="$('formID:comboboxSubviewID:comboboxID').component.hideList()"
value="hideList"></a4j:commandLink> <br/>
<a4j:commandLink
onclick="$('formID:comboboxSubviewID:comboboxID').component.enable()"
value="enable"></a4j:commandLink> <br/>
- <a4j:commandLink
onclick="$('formID:comboboxSubviewID:comboboxID').component.disable()"
value="disable"></a4j:commandLink>
+ <a4j:commandLink
onclick="$('formID:comboboxSubviewID:comboboxID').component.disable()"
value="disable"></a4j:commandLink>
+ <br />
+ <f:verbatim>
+ <h:outputText value="Component controll testing" style="FONT-WEIGHT:
bold;"></h:outputText>
+ <br />
+ <a href="#" id="showListID">showList</a>
+ <br />
+ <a href="#" id="hideListID">hideList</a>
+ <br />
+ <a href="#" id="enableID">enable</a>
+ <br />
+ <a href="#" id="disableID">disable</a>
+ </f:verbatim>
+ <rich:componentControl attachTo="showListID" event="onclick"
for="comboboxID"
operation="showList"></rich:componentControl>
+ <rich:componentControl attachTo="hideListID" event="onclick"
for="comboboxID"
operation="hideList"></rich:componentControl>
+ <rich:componentControl attachTo="enableID" event="onclick"
for="comboboxID" operation="enable"></rich:componentControl>
+ <rich:componentControl attachTo="disableID" event="onclick"
for="comboboxID"
operation="disable"></rich:componentControl>
</f:subview>
\ No newline at end of file
Show replies by date