Author: mvitenkov
Date: 2008-06-18 10:55:09 -0400 (Wed, 18 Jun 2008)
New Revision: 9097
Modified:
trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-06-18
13:29:58 UTC (rev 9096)
+++ trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-06-18
14:55:09 UTC (rev 9097)
@@ -54,7 +54,22 @@
<a4j:commandLink value="enable"
onclick="$('formID:progressBarSubviewID:progressBarID').component.enable(event);"></a4j:commandLink>
</h:panelGrid>
-
+ <br />
+ <f:verbatim>
+ <h:outputText value="Component control test" style="FONT-WEIGHT:
bold;"></h:outputText>
+ <br />
+ <a href="#" id="setLabelID">setLabel</a>
+ <br />
+ <a href="#" id="setValueID">setValue(0)</a>
+ <br />
+ <a href="#" id="disableID">disable</a>
+ <br />
+ <a href="#" id="enableID">enable</a>
+ </f:verbatim>
+ <rich:componentControl attachTo="setLabelID" event="onclick"
for="progressBarID" operation="setLabel" params="{label:setLabel
work!}"></rich:componentControl>
+ <rich:componentControl attachTo="setValueID" event="onclick"
for="progressBarID" operation="setValue"
params="{value:0}"></rich:componentControl>
+ <rich:componentControl attachTo="disableID" event="onclick"
for="progressBarID"
operation="disable"></rich:componentControl>
+ <rich:componentControl attachTo="enableID" event="onclick"
for="progressBarID"
operation="enable"></rich:componentControl>
<h:panelGrid columns="2">
<h:outputText value="first value:" />
<h:outputText value="#{progressBar.value}" />
Show replies by date