Offset property is there in iterate check it up please

-----Original Message-----
From: raghu_c [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 12:54 PM
To: [EMAIL PROTECTED]
Subject: logic:iterate issue


Hi - 

My logic:iterate tag doesnt loop thru the no of elements in the list :(
Can someone help?

My jsp goes something like this


<logic:iterate id="MINESNQueryForm" name="MINESNResults" 
property="arrlstMINESNIS41Records" length="<%=iNoOfRecDisplayed%>">
        <tr onClick="fnSelectedRow(this,'<%=iCounter%>')" 
onDblClick="fnOpenDetails(this,'<%=iCounter%>')" >
                <td align = center>
                        &nbsp;
                </td>
                <logic:notEmpty name="MINESNQueryForm" 
property='<%="arrIS41Date["+iCounter+"]"%>'>
                        <td align = center>
                        <font color=<%=(String)arrIS41ColorCode.get(iCounter)%>>
                                <bean:write name="MINESNQueryForm" 
property='<%="arrIS41Date["+iCounter+"]"%>' />
                        </font>
                </td>
                </logic:notEmpty>
        </tr>
        <%iCounter+=1;%>
</logic:iterate>


The MINESNQueryForm is my ActionForm Bean ; it has getter setter methods called 
getArrlstMINESNIS41Records
and setArrlstMINESNIS41Records
iNoOfRecords is a parameter, it has a value of 15 when printed to System.out
I am forced to use the iCounter to iterate since  tag nesting is unavailable.

It prints the first record , then doesnt return to loop any more

Thanx in Advance,
Raghu

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

This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

                Visit us at http://www.cognizant.com


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

Reply via email to