It's not a secret anymore!*
The moose likes Struts and the fly likes Problem Passing Parameter values to action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem Passing Parameter values to action" Watch "Problem Passing Parameter values to action" New topic
Author

Problem Passing Parameter values to action

Revanth reddy
Ranch Hand

Joined: Oct 10, 2008
Posts: 52
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..

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem Passing Parameter values to action