Hello guys,
First of all i wish you happy and prosperous new year to all javaranch team.
here is my problem::
i am displaying some rows of data from the db based on user input in a grid. each row in the grid has radio button, my requirement is when the user clicked on radio button i need to display 6 text boxes(infact these text boxes are nothing but the column names of the grid )with the actual values, so that user can update these values and hit on update the updated values to be reflect the db.
i am able to pull the rows from db and displaying on the grid, when the user clicks on first radio button i am able to display the first row of data in the text boxes, when the user clicks on second row of data i am able to display the second row of data in the text boxes, but here i want to hide the first row of text boxes. currently i am displaying all the rows in the textboxes(At any given point of time i have to display the one row of text boxes based on user click on the radio button, if user clicks on 1st radio button display first row in text boxes, if user clicks on 2nd row , then hide the first row of text boxes and display the 2nd row of text boxes)
one more problem is if user updates some values in the text boxes how to send the updated values to the action. to perform db update( i am using
struts frame work with dispatch action)
here is my
jsp Any help is greatly appreciated