aspose file tools*
The moose likes JSF and the fly likes nested datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "nested datatable" Watch "nested datatable" New topic
Author

nested datatable

Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Hi,

I need to display values from datatabse like :

Department1

work1
work2

Departement2

work1
work2
work3

I am trying to do this using datatable iterating two lists. Here is my code :
jsp:

bean:


I am getting the diplay like the following instead of getting like the above mentioned:

Department1

work1
work2
work1
work2
work3

Department2

work1
work2
work1
work2
work3

How can I get a display like the one I have shown in first ?Please help me.
Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Hi,

I got it solved using myfaces t:datatable without using nesting .

Thanks,
Joe.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: nested datatable