I am iterating rows for setting values in row elements...
In the UI after displaying these values I need to select any of the produced rows... In the above the rowid would be same for each row!
How to achieve it? This could have been in JS forum but usage of struts prompted me to be here ...
Tom Rispoli
Ranch Hand
Joined: Aug 29, 2008
Posts: 349
posted
0
When I've had to do this I used the status attribute in the iterator tag to give me a variable that holds the index that that iterator is at, then I append the value of that variable to the id for the row, so in your case, something like this:
Hope that answers your question.
Pradeep Adibatla
Ranch Hand
Joined: Oct 27, 2009
Posts: 336
posted
0
If we need to write this whole thing in Javascript can we achieve that?