Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Problem Passing Parameter values to action

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • 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..

 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic