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 ...
Joined: Aug 29, 2008
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.
Joined: Oct 27, 2009