Did you try using the Facet tags... footer and header?
<h
ataTable id="books"
columnClasses="list-column-center,
list-column-right, list-column-center,
list-column-right" headerClass="list-header"
rowClasses="list-row" styleClass="list-
background" value="#{BookStore.items}" var="store">
<h:column>
<f:facet name="header">
<h
utputText value="#{msg.storeNameLabel}"/>
</f:facet>
<h
utputText value="#{store.name}"/>
</h:column>
<h:column>
<f:facet name="header">
<Subject
</f:facet>
<h
utputText value="#{store.subject}"/>
</h:column>
<h:column>
<f:facet name="header">
<h
utputText value="#{msg.storePriceLabel}"/>
</f:facet>
<h
utputText value="#{store.price}"/>
</h:column>
</h
ataTable>
resource
http://www.exadel.com/tutorial/jsf/jsftags-guide.html