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

Doubt in checkboxlist : In assigning each checkbox to different property

 
Sakthi Priya
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

How do i assign different property in my controller class for each checkboxes of my checkbox list. Please give me some idea.

Say i'm building a list in my controller class to display the list of checkboxes in jsp like below



And in my jsp


After selecting the checkboxes among Apple / Banana / Grapes in UI, how do i assign or make sure in my controller class which are the checkboxes are selected. I mean how do i assign different property in my controller class for each checkbox.

Thanks,
Sakthi
 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Check out this link below..

http://www.ibm.com/developerworks/java/library/j-sr3.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic