How to show data in dataTable lable:data in jsf

Posted by palakolanusrinu on Stack Overflow See other posts from Stack Overflow or by palakolanusrinu
Published on 2010-04-29T12:26:25Z Indexed on 2010/04/29 14:17 UTC
Read the original article Hit count: 395

Filed under:

Hi How to display lable: data name: srinu in multiple rows using dataTable in jsf right now i'm getting like

| lable | data| data srinu i want it in this formate
lable: data name: srinu

code which used is

<h:dataTable id="fundInfo" value="#{clientFundInfo}" border="1"
     var="client" first="0" rows="5" rules="all">
 <h:column> 
     <h:outputText value="CLIENT:"/>
   <h:outputText value="#{client.clientName}"></h:outputText>
 </h:column>
 <h:column> <h:outputText value="FUND:"/>
  <h:outputText value="#{client.fundName}"></h:outputText>
 </h:column>
 <h:column> 
  <h:outputText value="Employer Identification Number:"/>
  <h:outputText value="#{client.empIdentificationNum}"></h:outputText>
 </h:column>
 <h:column><h:outputText value="FISCAL YEAR ENDED:"/>
  <h:outputText value="#{client.fye}"></h:outputText>
 </h:column>
 <h:column><h:outputText value="Shares Outstanding"/>
  <h:outputText value="#{client.sharesOutstanding}"></h:outputText>
  </h:column>
</h:dataTable>

© Stack Overflow or respective owner

Related posts about jsf