Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add get the checkbox selected value from the display tag

 
Riyas Hameed
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to struts , using the pred defined display tag I have created a table and display the database information in the table. it is working fine
I need to user choose the list of rows from the display table to delete . so i have added check box in the dislay tag but i dont know how to set the selected check box values in the form bean.



I have added my display tag code.I need to get the checkbox selected values and delete the record from the database .once i get the list of selected check box values then i will form the query to delete the record . please advise me and correct me if anything wrong in the code .
Thanks in Advance.
 
Riyas Hameed
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have fixed the above issue .Now I can get the selected checkbox value .its is working fine now.


Thanks
 
VeeraSwamy Garapati
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hameed,

I am also facing same problem. How did you solve the above issue??
 
Siva Reddya
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hameed,

I am also facing same problem. How did you solve the above issue??can you please provide code my mailid:avsreddy001@gmail.com

Thanks in Advance
SivaReddy.
 
Siva Reddya
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic