Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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..

 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic