This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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