Author: mvitenkov
Date: 2008-07-02 08:09:19 -0400 (Wed, 02 Jul 2008)
New Revision: 9369
Modified:
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml
Log:
+findComponent
Modified:
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml 2008-07-02
12:04:42 UTC (rev 9368)
+++
trunk/test-applications/facelets/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.xhtml 2008-07-02
12:09:19 UTC (rev 9369)
@@ -1,9 +1,25 @@
-<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="dataFilterSliderPropertySubviewID">
- <h:panelGrid columns="2">
- <h:outputText value="Rendered:" />
- <h:selectBooleanCheckbox value="#{dfs.rendered}" >
- <a4j:support event="onclick"
reRender="p1"></a4j:support>
- </h:selectBooleanCheckbox>
- </h:panelGrid>
+<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="dataFilterSliderPropertySubviewID">
+ <h:panelGrid columns="2">
+ <h:outputText value="Rendered:" />
+ <h:selectBooleanCheckbox value="#{dfs.rendered}">
+ <a4j:support event="onclick"
reRender="p1"></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="getEndRange"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText value="#{rich:findComponent('dfsID').endRange}"
/>
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file