You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Strichartz, Beth" <BS...@sovereignbank.com> on 2001/12/04 17:55:34 UTC

Problem with Index

In an iterate,
if I do this ....
<logic:iterate id="addressResults" name="customerResults"
property="addresses" indexId="Index">
<%=Index%>

the index prints out to the screen for me.


But, how do I do this??
<logic:iterate id="addressResults" name="customerResults"
property="addresses" indexId="Index">
                        <% if (String.valueOf(Index)) > 0) {%>
                        <br>
                        <% } %>
To check the value of the index??
Thanks,
Beth.


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>