aspose file tools*
The moose likes Struts and the fly likes Doubt in checkboxlist : In assigning each checkbox to different property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Doubt in checkboxlist : In assigning each checkbox to different property" Watch "Doubt in checkboxlist : In assigning each checkbox to different property" New topic
Author

Doubt in checkboxlist : In assigning each checkbox to different property

Sakthi Priya
Greenhorn

Joined: Apr 02, 2009
Posts: 26
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

Joined: Mar 28, 2007
Posts: 403
Hi,

Check out this link below..

http://www.ibm.com/developerworks/java/library/j-sr3.html


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in checkboxlist : In assigning each checkbox to different property