Author: mvitenkov
Date: 2008-05-14 08:04:29 -0400 (Wed, 14 May 2008)
New Revision: 8571
Modified:
trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml
Log:
RF-2778 test was added
Modified:
trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml 2008-05-14
11:39:34 UTC (rev 8570)
+++
trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml 2008-05-14
12:04:29 UTC (rev 8571)
@@ -169,4 +169,65 @@
<f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING"
/>
</h:selectOneRadio>
</h:panelGrid>
+ <br/>
+ <rich:dataTable value="#{sortingAndFiltering.data}" var="cap"
width="500px" rows="15">
+
+ <f:facet name="header">
+
+ <rich:columnGroup>
+
+ <rich:column colspan="3">
+
+ <h:outputText value="Filtering Example"/>
+
+ </rich:column>
+
+ <rich:column breakBefore="true">
+
+ <h:outputText value="State Name"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Capital"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Time Zone"/>
+
+ </rich:column>
+
+ </rich:columnGroup>
+
+ </f:facet>
+
+ <rich:column filterBy="#{cap.str0}" >
+
+ <h:outputText value="#{cap.str0}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str1}" >
+
+ <h:outputText value="#{cap.str1}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str3}">
+
+ <h:outputText value="#{cap.str3}"/>
+
+ </rich:column>
+
+ <f:facet name="footer">
+
+ <rich:datascroller renderIfSinglePage="false"/>
+
+ </f:facet>
+
+ </rich:dataTable>
+
</f:subview>
\ No newline at end of file
Show replies by date