I am converting jsp that produces a table like ...

1      317
2      45
3      118

... i,e. an index plus a count for that index.

How should you folks do this? Is there a way with .tml to fix this or do I
have to use Grid or write a component.

JSP code
=======
<% int level=1; %>
<c:forEach items="${levels}" var="count">
<tr>
<td<%= level % 2 == 0 ? " class=\"tdalt\"" : "" %>><%= level %></td>
<td<%= level % 2 == 0 ? " class=\"tdalt\"" : "" %>>${count}</td>
</tr>
<% ++level; %></c:forEach>

Reply via email to