This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

nested datatable

 
Joe Jose
Ranch Hand
Posts: 125
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic