| Author |
Using selectManyCheckbox.
|
Viswanath Sriram
Greenhorn
Joined: Jul 20, 2006
Posts: 12
|
|
I have used datatable tag to display the rows.For every row a check box will appear with its id.Now i want the list of the selected items in the controller.can any body explain this with code. [BPSouther: Removed the word urgent from the subject line] [ September 20, 2006: Message edited by: Ben Souther ]
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
This doesn't sound like a Hibernate question. It looks like it might be a JSP question, but its not very clear from what you have posted. I'll move this over to that forum, but if you really need an answer it might be benefitial to explain the problem more fully. (And please, Ease Up) [ September 20, 2006: Message edited by: Paul Sturrock ]
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
If all the checkboxes have the same name but unique values, HttpServletRequest.getParameterValues will return an array containing the values of the checked boxes. java.lang.String)" target="_blank" rel="nofollow">http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getParameterValues(java.lang.String)
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Using selectManyCheckbox.
|
|
|