Bear Bibeault wrote:The way I'd do it is to just test whether a multiple has been reached and insert "</tr><tr>" into the template text.
Thanks! That worked in terms of getting the tags right. But now, I've noticed another thing...
<c:when test="<%=status.getCount()%5==0%>"> doesn't work quite the way I want it to when the count gets above 8.
For example, when it is displaying the 9th cell item, 9%5 is not 0 so it remains on the second row instead of going to the 3rd row. What is the proper test condition here?