Author: mvitenkov
Date: 2008-07-02 04:18:27 -0400 (Wed, 02 Jul 2008)
New Revision: 9350
Modified:
trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp
Log:
+findComponent
Modified: trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp 2008-07-02
08:15:49 UTC (rev 9349)
+++ trunk/test-applications/jsp/src/main/webapp/Spacer/SpacerProperty.jsp 2008-07-02
08:18:27 UTC (rev 9350)
@@ -28,4 +28,15 @@
<a4j:commandButton id="btn" action="#{spacer.doStyle}"
value="#{spacer.btn}" reRender="spacerId,
btn"></a4j:commandButton>
</h:panelGrid>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column>
+ <h:outputText id="findID"
value="#{rich:findComponent('spacerId').rendererType}"/>
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Show replies by date