The variable set by varStatus is a LoopTagStatus object, not an int. Use:
<div id="divIDNo${theCount.index}">
To clarify:
${theCount.index}starts counting at0unless you’ve set thebeginattribute${theCount.count}starts counting at1
The variable set by varStatus is a LoopTagStatus object, not an int. Use:
<div id="divIDNo${theCount.index}">
To clarify:
${theCount.index} starts counting at 0 unless you’ve set the begin attribute${theCount.count} starts counting at 1