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

primefaces nested datatable filtered by the value of foreach

Frankely Diaz
Posts: 20
Eclipse IDE Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic