Hi 
         I have a new problme, I would like to know how to use the
<html:link> tag with <logic:iterate tag>. I tried this way:

<logic:iterate name="WorkQueueForm" property="workQueueArrList"
indexId="clmIdx" id="indexBean"
type="com.tgt.dist.icl.formbeans.WorkQueueBean">
        
<td width=55>
        <html:link name="indexBean" property="claimId" />
</td>

</logic:iterate>

This does not work, it says key/value pair not found???

Could anyone  please help... Thanks Nick.

Raghu

-----Original Message-----
From: Ben Sion [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 21, 2003 5:16 PM
To: Struts Developers List
Subject: Re: how to use index in iterate tag


I think this is one for the users list but we did using jstl foreach 
tag like so:

<c:forEach items="${my.collection}" var="item" varStatus="status">
  <c:choose>
    <c:when test="${status.count % 2 == 0}">
       <!-- table row one colour-->
    </c:when>
    <c:otherwise>
       <!-- table row another colour-->
    </c:otherwise>
  </c:choose>


cheers
Ben

----- Original Message -----
From: Ramesh Kannery <[EMAIL PROTECTED]>
Date: Friday, August 22, 2003 3:07 am
Subject: how to use index in iterate tag

> Hi
> 
> In a table i hav to show rows in different colors.
> Odd nos in one color and even nos in another color.
> I thnk i can achieve through logic\iterate tag.
> how to use the index id for this purpose?
> 
> regards
> ramesh
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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


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

Reply via email to