Aug 29th, 2008, 02:13 PM
Help Need with displaying Grid Data and using Java script
I need to diplay a list of objects in a table format . Each table has a button to submit data. I need to know which row (some User property like USerId or EmailID) user selected once the user clicked on the button next to each row.
What is the best way to implement above functionality ?
I also jave hard time invoking Java script functions. is there any special insturtion to use Java Script with Spring Forms. the java script function never gets called. any examples will be helpful
Thanks In Advance.
Aug 29th, 2008, 03:28 PM
There's a multitude of different ways to achieve this functionality; here are a few of them.
- Radio per row with a single submit button
- Forms per row each with their own submit button
Aug 29th, 2008, 06:35 PM
Thanks for the quick response.
Radio button is the simplet one. but i dont think req analyst will accept to that solution.
i am using spring form tag.i am using a list to diaplay the table. do you think it is possible to use a form within another one ?
Aug 30th, 2008, 06:18 PM
I'm facing the same issue, I need to use the selected record of a grid table and pass it to the next form when a link is clicked... I'm working with JSF - Spring kind of archytecture, .... just need some simpe idea i'll figure out the rest..