Author: ilya_shaikovsky
Date: 2008-03-25 09:52:05 -0400 (Tue, 25 Mar 2008)
New Revision: 7168
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml
Log:
columns example small addition
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml 2008-03-25
13:48:57 UTC (rev 7167)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml 2008-03-25
13:52:05 UTC (rev 7168)
@@ -6,10 +6,14 @@
xmlns:rich="http://richfaces.org/rich">
<h:form>
<rich:dataTable value="#{dataTableScrollerBean.model}"
var="model">
+
+ <f:facet name="header">
+ <h:outputText value="Cars Available"></h:outputText>
+ </f:facet>
<rich:columns value="#{dataTableScrollerBean.columns}"
var="columns"
index="ind" sortBy="#{model[ind].price}">
-
+
<f:facet name="header">
<h:outputText value="#{columns.header}" />
</f:facet>