• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to segregate objects?

 
raj talatam
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using primefaces in my projects.i have List of user report objects

for ex:User_Report Table
trackid userID reportId Count
------- ------- -------- ------
1 01 101 5
2 02 101 10
3 01 102 15
4 02 102 10


i have table like this.
by using this table i am showing bar chart

users on X axis and count on Y -axis,

in the graph for user 01 , i am showing report 101&102 , like that for user 02 and so on

, my question is how to segregate objects in that scenario based on UserId
i will get List of objects for every single row..
Thanks
Rajendar
 
Ivan Jozsef Balazs
Rancher
Posts: 992
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!