Author: mvitenkov
Date: 2008-07-02 09:05:02 -0400 (Wed, 02 Jul 2008)
New Revision: 9390
Modified:
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-07-02
13:00:21 UTC (rev 9389)
+++
trunk/test-applications/facelets/src/main/webapp/Paint2D/Paint2DProperty.xhtml 2008-07-02
13:05:02 UTC (rev 9390)
@@ -79,4 +79,15 @@
<a4j:support event="onclick"
reRender="paint2dID"></a4j:support>
</h:selectBooleanCheckbox>
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getData"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
value="#{rich:findComponent('paint2dID').data.text}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file