• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Problem Passing Parameter values to action

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have some different requirement here.

my requirement is :

1.I have user interface, where user can enter some value to lookup
2.in the next page i have to display the values based on user input, in the grid form, and having radio button beside each row.
3.when user clicks on any of the radio button i have to display that particular row values in the text boxes below the grid.so that user can update some values and i have to update the db when user clicks on update button.

as of now i am able to pull the values based on user input and displaying them on a grid, and also i am displaying the values on the user click on radio button.

here i have two problems.

1. when the user clicks on 2nd row radio button , i have to display the second row values in the text boxes, and if user clicks on 3rd row i have to hide 2nd row text boxes and display 3rd row values. which is i am not able to do. currently i am not able to hide. (means when the user clicks on 2nd radio button displaying 2nd row text boxes, and user clicks on 3rd radio button displaying 3rd row text boxes, with out hiding the 2nd row text boxes)


2. when user update some values on the text boxes how i have to send the updated values to action class or DAO( i am using struts framework) here is my jsp

any help is greatly appreciated..

 
A magnificient life is loaded with tough challenges. En garde tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic