Author: abelevich
Date: 2009-09-25 11:18:05 -0400 (Fri, 25 Sep 2009)
New Revision: 15668
Modified:
root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml
Log:
add data
Modified: root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml
===================================================================
--- root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml 2009-09-25
15:16:55 UTC (rev 15667)
+++ root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml 2009-09-25
15:18:05 UTC (rev 15668)
@@ -12,7 +12,30 @@
<h:body>
<h:form id="form1">
- <rich:simpleDataTable>
+ <rich:simpleDataTable var="record"
value="#{dataBean.employeeList}">
+ <rich:column id="column_name">
+ <h:outputText value="#{record.name}" />
+ </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:column id="column_company_name">
+ <h:outputText value="#{record.company.name}" />
+ </rich:column>
+
+ <rich:column id="column_company_state">
+ <h:outputText value="#{record.company.state}" />
+ </rich:column>
+
+ <rich:column id="column_company_phone">
+ <h:outputText value="#{record.company.phone}" />
+ </rich:column>
</rich:simpleDataTable>
</h:form>
</h:body>
Show replies by date