Author: konstantin.mishin
Date: 2009-11-13 12:56:30 -0500 (Fri, 13 Nov 2009)
New Revision: 15880
Modified:
root/examples-sandbox/trunk/components/tables/src/main/webapp/extendedtable.xhtml
Log:
RF-7852 ExtendedDataTable sample
Modified:
root/examples-sandbox/trunk/components/tables/src/main/webapp/extendedtable.xhtml
===================================================================
---
root/examples-sandbox/trunk/components/tables/src/main/webapp/extendedtable.xhtml 2009-11-13
17:56:29 UTC (rev 15879)
+++
root/examples-sandbox/trunk/components/tables/src/main/webapp/extendedtable.xhtml 2009-11-13
17:56:30 UTC (rev 15880)
@@ -36,7 +36,25 @@
<h:body>
<h:form id="form1">
- <rich:extendedDataTable />
+ <rich:extendedDataTable var="record"
value="#{dataBean.employeeList}" rows="20">
+ <rich:column id="column_name">
+ <f:facet name="header">
+ <h:outputText id="columnHeader1" value="Column Header
Facet"/>
+ </f:facet>
+ <h:outputText value="#{record.name}" />
+ <f:facet name="footer">
+ <h:outputText id="columnFooter1" value="Column Footer
Facet"/>
+ </f:facet>
+ </rich:column>
+
+ <rich:column id="column_title">
+ <h:outputText value="#{record.title}" />
+ </rich:column>
+
+ <rich:column id="column_email">
+ <h:outputText value="#{record.EMail}" />
+ </rich:column>
+ </rich:extendedDataTable>
</h:form>
</h:body>
</html>