<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:dt="http://labs.jboss.com/jbossrichfaces/ui/dataTable" 
      xmlns:columns="http://labs.jboss.com/jbossrichfaces/ui/columns">
<body>

<ui:composition>
<dt:dataTable value="#{list}" var="var" id="tb">
		<columns:columns value="1,2,3,4,5" var="col" index="counter"
		 style="color: Red;" width="100px;">
		 <f:facet name="header">
		 	<h:outputText value="#{counter}"></h:outputText>
		 </f:facet>
			<h:outputText value="#{col}"></h:outputText>
		</columns:columns>
</dt:dataTable>

</ui:composition>
	
</body>
</html>