[jboss-user] [JBoss Seam] - h:DataTable problem

vwiencek do-not-reply at jboss.com
Mon Nov 13 03:45:27 EST 2006


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985340#3985340

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985340



More information about the jboss-user mailing list