JSF Data Table in Sequential Level

Hi All,

Assume i have a List and it contains 2 records. I need to display in Sequential Level in Frontend,

When i use the below code

<h:dataTable value="#{emp.detailList}" var="empVO" headerClass="tableheader" columnClasses="tablecell">

<h:column>

<f:facet name="header">

<h:outputText value="Emp No" />

</f:facet>

<h:outputText value="#{empVO.empNumber}" />

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="First Name" />

</f:facet>

<h:outputText value="#{empVO.firstName}" />

</h:column>

..

...

</h:dataTable>

The above is showing as Tabel Level

Tabel Level Mean

Emp NoFirst NameLast NameAge

10RahulJain30

20SunilShetty 32

In above all column are showing in Table Header and multiple row are displaing in Tabel Level.

Sequential Level Mean

Emp No 10First Name Rahul

Last Name JainAge 30

Emp No 20First Name Sunil

Last Name ShettyAge 31

I want to display the above by using <h:dataTable>

Anybody can help me in this regards.

Thanks and Regards

Srikanth

[1369 byte] By [Sri007a] at [2007-10-2 23:34:49]
# 1
have a datatable in a datatable.and the inner datatable will have your specified type of order.
rajureddya at 2007-7-14 16:16:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Can you tell me sample code how to do that.

Assume I have 1 arraylist and arraylist contains the 2 Value Object (it mean 2 records)

1 Value object will have emp no, first name, last name and age

and 2 value object will also have emp no, first name, last name and age

both are different data.

Thanks and Regards

Srikanth

Sri007a at 2007-7-14 16:16:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Hey can anybody give the above solution. I am stuck in above issue.Thanks & RegardsSrikanth
Sri007a at 2007-7-14 16:16:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
See :www.jenia.otg and www.myfaces.orgAlso see the ADF Faces components
pringia at 2007-7-14 16:16:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
Here DataTable is necessary? or in any way you want to display the values horizantally? If datatable is not a constraint then i will tell you what to do..... let me know.
venk123a at 2007-7-14 16:16:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
Yes Venky, dataTable is necessary
Sri007a at 2007-7-14 16:16:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...