Author: mvitenkov
Date: 2008-07-02 09:46:44 -0400 (Wed, 02 Jul 2008)
New Revision: 9405
Modified:
trunk/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml 2008-07-02
13:40:23 UTC (rev 9404)
+++ trunk/test-applications/facelets/src/main/webapp/Tree/TreeProperty.xhtml 2008-07-02
13:46:44 UTC (rev 9405)
@@ -1,4 +1,19 @@
-<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich" id="treePropertySubviewID">
-
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
id="treePropertySubviewID">
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getAdviseNodeSelected"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
+ value="#{rich:findComponent('tree').adviseNodeSelected}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file