Hello,

We want to visualize some dynamic content within a column for each row
of sheet with jstl.


We tried to incrment a variable (defined outside of the tc:sheet
element)  with: <c:set var="counter" value="${counter + 1}" /> to get
the row index, but it doesn't work.

Jsp:

<tc:sheet .. >

...
        <tc:column 
                
                <c:set var="counter" value="${counter + 1}" />

                <c:forEach  items="${bean.itmesList[counter].subList}"
var="w" varStatus="status">       
                        <tc:out  value="${w}" />
                </c:forEach>

        </tc:column>
...

</tc:sheet>




Is it possible and how?


Thank you.

Reply via email to