• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

DataTable and Select All Checkboxes  RSS feed

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a h:datatable that has a checkbox in each row.
In the footer of the datatable, there is a button that "approves" all the selected rows (ie, it calls an action in the managed bean). If I select rows manually by checking off each checkbox, and then click "approve" - the action is fired everything is good.

Then I put in a "select all" checkbox, that selected all the showing checkboxes on the page. What the problem is, is that when I click approve now, no action is fired.

Any idea what is going on? I know this is a JSF forum - but here is the JS code:



Thanks,
Ayan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!