aspose file tools*
The moose likes Struts and the fly likes logic:iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logic:iterate" Watch "logic:iterate" New topic
Author

logic:iterate

Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Hi ,
I have the below code snippet which displays list of time values.
I need to show distinctively the max and min time values e.g in some diff color from the rest. I have those two variables say max and min set in the form.I would like to know that while iterating how can I identify the max and min values so that I can format those distinctively.
the angular brackets have been removed in the below code.
<logic:iterate id="allTime" property="allTimeList" name="performanceForm">
<tr>
<TD bean:write name="allTime"/></ TD>
</tr>
</logic:iterate>
Thanks.....
Nimchi Yung
Ranch Hand

Joined: Jan 27, 2004
Posts: 71
Assuming you have scripting variables like minData, maxData.
You could try something like this:

--Nimchi
Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Thanks...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: logic:iterate