• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

jsf - dataTable with external filter

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I'm trying to find a way to use an external filter to my dataTable, I have a dataTable with a few columns (id, type, name etc...), I want to add an external filter which looks like a set of checkboxes for all the types, for example if my dataTable lokk like:

id type name
1 type1 name1
2 type1 name2
3 type2 name3

so my filter will look like the following:
[v] type1 (2)
[v] type2 (1)

Then, when user presses on type1 checkbox I want to display all the rows where type is type1, if type2 checkbox is also selected then I want to display also all rows where type is type2 and so on.....

Could you recommend the best way to do so in JSF 2 ???

Thanks, Efrat
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic