This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
values undefined in arrays
Having some multidimensional array problem in JSP
how do I know Edit Database Record
PROBLEM WITH NESTED CHECKBOX
request.setAttribute() and request.getAttribute()