Author: mvitenkov
Date: 2008-07-02 08:42:13 -0400 (Wed, 02 Jul 2008)
New Revision: 9384
Modified:
trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
Log:
+findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml 2008-07-02
12:41:17 UTC (rev 9383)
+++
trunk/test-applications/facelets/src/main/webapp/Insert/InsertProperty.xhtml 2008-07-02
12:42:13 UTC (rev 9384)
@@ -32,4 +32,15 @@
<h:outputText value="Rendered" />
<h:selectBooleanCheckbox value="#{insert.rendered}"
onchange="submit();"/>
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getSrc"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('insertID').src}"
/>
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file