Hi Rashel,

On 5/2/07, Rashel Shehata <[EMAIL PROTECTED]> wrote:
Hi,

How do i get access to the loop index variable in a jx:forEach Loop?
I have

You need to do something like this:

<jx:forEach var="item" items="${cocoon.session.getAttribute('array')}"
varStatus="status">
${status.index}
</jx:forEach>


I want teh index of the array that is accesed at each loop

many Thanks

bye
pino

--
Giuseppe Di Pierri
Managing Director
______________________
Phiware Engineering Sagl
via Ginevra 5
CH-6900 Lugano
Tel. +41 91 260 75 55
Fax.+41 91 260 75 59
Email. [EMAIL PROTECTED]
--

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to