Hello to everyone!
I have a problem using struts2 custom tags.
I have a variable called
data in my action class.
data is an ArrayList of ArrayLists
Also, I have a variable called
useIndex that says which element of every inner ArrayList will be send to
java script function doSomething(element)
Now, I want to iterate through these ArrayLists:
<!-- I started creating table ...
I tried putting another
<s:property value="useIndex" /> in it , something like this:
<s:property value="#row[ <s:property value="useIndex" /> ]" />
but it cannot be put there...
Does anyone has a solution to this problem?
Thanks.