cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal Bhatt <kbh...@tt.com.au>
Subject Re: <jx:forEach
Date Wed, 02 May 2007 04:48:19 GMT
Rashel Shehata wrote:
> Hi,
>  
> How do i get access to the loop index variable in a jx:forEach Loop?
> I have
>   <jx:forEach var="item" items="${cocoon.session.getAttribute('array')}" >
> ...
> </jx:forEach>
>  
> I want teh index of the array that is accesed at each loop
>  
> many Thanks

${repeaterLoop.index}

-- 
Kamal Bhatt


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message