Jean Marie,
I'm not sure if that's what you are looking for...
<logic:iterate name="harvestForm" property="glebas" id="g" indexId="index">
<tr>
<td><b><bean:write name="g" property="name"/></b></td>
<logic:iterate name="harvestForm" property="costs[${index}]"
id="c">
<td align="right"><%= costFormat.format(c) %></td>
</logic:iterate>
</tr>
</logic:iterate>
In the code above, I use index to access values in an array called costs.
[]s
On 5/26/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Hi,
I am developing an application with struts and custom JSP tags.
In my custom tag I would like to retrieve the getIndexValue() when I use
it inside an iterate (in order to change its name like xxx[1] ...).
Have you got any idea?
Thanks,
Best regards,
Jean-Marie.
Jean-Marie PITRE
Structural Application
COFISUN International
Tél: +32 69 25 12 56
E-mail: [EMAIL PROTECTED]
***** DISCLAIMER *****
http://www.cofidis.be/emaildisclaimer.php
--
Miguel Galves - Engenheiro de Computação
Já leu meus blogs hoje?
Para geeks http://log4dev.blogspot.com
Pra pessoas normais
http://miguelgalves.blogspot.com
"Não sabendo que era impossível, ele foi lá e fez..."