Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

nested datatable

 
Joe Jose
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Thanks,
Joe.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic