Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exract the values of a row which is dynamically generated

 
saipraneeth nallapareddy
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello members

actually i'm trying to display the records fetched from a DB on a jsp, the list of POJO will be returned from a DAO class and i'm getting this list object & iterating it in the jsp directly and displaying them there itself, upto now working fine.

but the problem now i'm facing is i have to place a radio button for every record being displayed and when a particular record is selected (by selecting the respective radio button) i should be able to edit the data and update the particular record when clicked on a button, i'm actually displaying the data in a jsp in a textbox itself but how to link the entire record when a particular radio button is selected.

i guess i gave all information and problem if any one fell it is insufficient then please post your question.

can any please help me in this regard.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need the entire record -- all you need is the primary key so you can fetch the record data from the database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic