This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes primefaces nested datatable filtered by the value of  foreach Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "primefaces nested datatable filtered by the value of  foreach" Watch "primefaces nested datatable filtered by the value of  foreach" New topic
Author

primefaces nested datatable filtered by the value of foreach

Frankely Diaz
Greenhorn

Joined: Oct 09, 2009
Posts: 20

im looping the values of a collection into a foreach and i want to create datatable as loops. but i need to filtered the rows that would have each datatable with the current value of the foreach, how can i do that?

i have the methods that fill the foreach with a collection, and i have the methods that give me the collections for the datatable, the question is this:

how can i pass the current value of a foreach to a managedbean for filter what collections return using that value.

im using jsf with primefaces, and i have my models with hibernate im using criterias to return the collections.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: primefaces nested datatable filtered by the value of foreach
 
Similar Threads
pollFirstXxx() question
how to get index value of datatable
Presenting variable number of columns with primefaces datatable
Selected Row in primefaces
Email compose onclick a link in JSF Primefaces.