1 Reply Latest reply on Nov 13, 2006 4:13 AM by vwiencek

    h:DataTable problem

    vwiencek

      Hi,
      I'm new to Jboss and web Applications, but I've practiced Java for a long time.
      I'm now using seam, and I discover each day more fantastic functionnalities. But I'm faced to a minor (I'm sure) problem :

      I'm using a DataTable in a xhtml view, and the column header is repeated at every rows. The code i'm using is :
      <h:dataTable
      id="persons"
      value="#{listPerson}"
      var="p" >
      <h:column>
      <f:facet name="header">
      <h:outputText value="FirstName : "/>
      </f:facet>
      <h:outputText value="#{p.firstName}"/>
      </h:column>
      </h:dataTable>

      Is there something special to do to enable the "header function" of the facet ?

      Thanks for your help.
      Vincent