Thank's for your reply Miguel.
It is not exactly what I want ... :( In fact I have write a custom JSP tag, I use it in an iterate block. I would like to retrieve in the doStartTag block the Index value. Jean-Marie -----Message d'origine----- De : Miguel Galves [mailto:[EMAIL PROTECTED] Envoyé : vendredi 26 mai 2006 13:52 À : Struts Users Mailing List Objet : Re: getIndexValue() in custom tag 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..." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]