Author: pgolawski
Date: 2008-11-13 04:40:00 -0500 (Thu, 13 Nov 2008)
New Revision: 11129
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
Log:
add label attribute for columns
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2008-11-13
09:39:31 UTC (rev 11128)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2008-11-13
09:40:00 UTC (rev 11129)
@@ -12,25 +12,25 @@
<rich:extendedDataTable value="#{capitalsBean.capitals}"
var="cap" id="table"
width="580px" height="400px"
sortMode="#{extendedTableBean.sortMode}"
selectionMode="#{extendedTableBean.selectionMode}">
- <rich:column sortable="false">
+ <rich:column sortable="false" label="Flag">
<f:facet name="header">
<h:outputText value="Flag"/>
</f:facet>
<h:graphicImage value="#{cap.stateFlag}"/>
</rich:column>
- <rich:column sortable="true" sortBy="#{cap.state}"
filterBy="#{cap.state}" filterEvent="onkeyup"
width="170px">
+ <rich:column sortable="true" sortBy="#{cap.state}"
filterBy="#{cap.state}" filterEvent="onkeyup" width="170px"
label="State Name">
<f:facet name="header">
<h:outputText value="State Name"/>
</f:facet>
<h:outputText value="#{cap.state}"/>
</rich:column>
- <rich:column sortable="true" sortBy="#{cap.name}"
filterBy="#{cap.state}" filterEvent="onkeyup"
width="170px">
+ <rich:column sortable="true" sortBy="#{cap.name}"
filterBy="#{cap.state}" filterEvent="onkeyup" width="170px"
label="State Capital">
<f:facet name="header">
<h:outputText value="State Capital"/>
</f:facet>
<h:outputText value="#{cap.name}"/>
</rich:column>
- <rich:column sortable="false">
+ <rich:column sortable="false" label="Time Zone">
<f:facet name="header">
<h:outputText value="Time Zone"/>
</f:facet>
Show replies by date