• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Checkbox functionality using Struts

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I have a datatable (records from database table) displayed to the user using JSP. The user needs a checkbox selectall functionality where in user can select all the records in the datatable on the screen and submit the form for further processing. The checkbox column is shown on the screen but not part of database table. Please suggest how to go about it. A working example will certainly help. I am usin JSP and Struts 1.x.

Regards
Thomas
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have uniquely identify each row by id.& that same id you should give to check box.Whenever you are submitting the form,you should make sure that you are passing selected check box ids.
 
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic