Author: abelevich
Date: 2009-11-06 13:17:16 -0500 (Fri, 06 Nov 2009)
New Revision: 15850
Modified:
root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml
Log:
add subTable header facet
Modified: root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml
===================================================================
--- root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml 2009-11-06
18:14:18 UTC (rev 15849)
+++ root/examples-sandbox/trunk/components/tables/src/main/webapp/home.xhtml 2009-11-06
18:17:16 UTC (rev 15850)
@@ -42,10 +42,18 @@
</rich:column>
<rich:subTable var="company" value="#{record.company}"
rows="20">
+ <f:facet name="header">
+ <rich:colGroup id="headerFacet1" >
+ <rich:column><h:outputText id="headerFacet12"
value="company"> </h:outputText></rich:column>
+ <rich:column><h:outputText id="headerFacet13" value="office
location"></h:outputText></rich:column>
+ <rich:column><h:outputText id="headerFacet14"
value="phone"></h:outputText></rich:column>
+ </rich:colGroup>
+ </f:facet>
+
<rich:column id="column_company_name">
<h:outputText value="#{company.name}" />
</rich:column>
-
+
<rich:column id="column_company_state">
<h:outputText value="#{company.state}" />
</rich:column>