Re: A question on Struts taglib.

2004-02-24 Thread Shyam A
You can use the indexId attribute of tag... http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate HTH, Shyam --- "Au-Yeung, Stella H" <[EMAIL PROTECTED]> wrote: > A question on Struts taglib. > Can someone tell me how to reference the "index" of > each element so I can > pass it a

RE: A question on Struts taglib.

2004-02-24 Thread Ramadoss Chinnakuzhandai
add index attribute in your logic iterate and append that index to your host string. e.g yourhoststring+<%=indexId %> -R -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 3:18 PM To: [EMAIL PROTECTED] Subject: A question on Struts

RE: A question on Struts taglib.

2004-02-24 Thread Au-Yeung, Stella H
Line: 136] Here's the changed code:       Any Idea? What did I do wrong? -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 3:45 PM To: Struts Users Mailing List Subject: RE: A question on Strut

RE: A question on Struts taglib.

2004-02-24 Thread Robert Taylor
: Tuesday, February 24, 2004 6:12 PM > To: 'Struts Users Mailing List' > Subject: RE: A question on Struts taglib. > > > I changed my code to use "indexId" and got the following error: > > symbol : variable indexId > location: class jsp_servlet._app._f

RE: A question on Struts taglib.

2004-02-24 Thread Au-Yeung, Stella H
Thanks Robert, that works. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 8:52 PM To: Struts Users Mailing List Subject: RE: A question on Struts taglib. Try this:       If you can use JSTL