aspose file tools*
The moose likes JSP and the fly likes retrieve a row in a table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "retrieve a row in a table" Watch "retrieve a row in a table" New topic
Author

retrieve a row in a table

Suman Dass
Greenhorn

Joined: Feb 20, 2002
Posts: 28
I have generated a table dynamically of 4 columns of which the first is a checkbox. Now I want to retrieve a row (remanining 3 elements) based on the checkbox selection. How can I do it?
Roan Nicolas
Greenhorn

Joined: Nov 11, 2002
Posts: 23
Thinking out loud:
You could try placing value in the hidden field with an iterated number in the end. For example:
<input type="hidden" name="firstrow<%=i%> value="test">
Then upon clicking the choosing the checkbox, add a snipet of code that retrieves the same value of iterated number of the hidden field with that of the checkbox.
Hope that makes sense.


Owee<p>SCJP 1.4
 
wood burning stoves
 
subject: retrieve a row in a table