If you can't upgrade then just keep your own counter:
<jx:set var="index" value="${0}"> <jx:forEach var="article" items="${availableArticles}"> ... <jx:set var="index" value="${index + 1}"/> </jx:forEach>
Mark Lundquist wrote:
Hi,
Can somebody spot what's wrong with this?:
<jx:forEach var="article" varStatus="loop" items="${availableArticles}">
<tr id="available.${loop.index}" onclick="select(this)">
.
.
.
My problem is that '${loop.index}' is evaluating to the empty string.
I'm using Cocoon 2.1.3.
Thanks a lot, Mark
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]