Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes handling the input type check box in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "handling the input type check box in struts" Watch "handling the input type check box in struts" New topic
Author

handling the input type check box in struts

Nesrin aboud
Ranch Hand

Joined: Feb 08, 2010
Posts: 48
I have dynamic data coming from different database , and i have an array of result , each row with a primary key
now I need to use check box to update certain field in case of review so I need a solution to the following prb

I use struts 1
but I can not use the <html:check>
because I made the name of check boxes depends on primary key to differentiate between rows



how to handle the parameter of checked check box in the action


Nesrin aboud
Ranch Hand

Joined: Feb 08, 2010
Posts: 48
I want to make a solution that user can check all the checkboxes in the grid and then click on a submit button to save
or to submit each checkbox alone

can any one help me
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: handling the input type check box in struts
 
Similar Threads
PROBLEM WITH NESTED CHECKBOX
Having some multidimensional array problem in JSP
values undefined in arrays
how do I know Edit Database Record
request.setAttribute() and request.getAttribute()