Author: mvitenkov
Date: 2008-07-02 09:17:55 -0400 (Wed, 02 Jul 2008)
New Revision: 9395
Modified:
trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml 2008-07-02
13:16:18 UTC (rev 9394)
+++
trunk/test-applications/facelets/src/main/webapp/ProgressBar/ProgressBar.xhtml 2008-07-02
13:17:55 UTC (rev 9395)
@@ -102,4 +102,15 @@
<h:selectBooleanCheckbox value="#{progressBar.rendered}"
onchange="submit();" />
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getValue"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText
value="#{rich:findComponent('progressBarID').value}"
id="findID"/>
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Show replies by date