struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Sherman <a...@teachandtravel.com>
Subject Re: <logic:iterate> How to determine the last row in a collection
Date Mon, 21 Oct 2002 17:49:06 GMT
Just to point out the obvious, but I assume you insert the border 
outside the iterate?

Tuan H. Le wrote:
> <logic:present name="myCollection" scope"request">
>   <logic:iterate id="data" name="myCollection" scope="request" type="com.abc.MyCollectionVO"
indexId="idx" length="10" offset="0">
>      // need logic to determine whether it's a last record in a collection
>      // if so, display the outline with border at the bottom
>   </logic:iterate>

Insert border here.

> </logic:present>

A.

-- 
Adam Sherman
Software Developer
Teach and Travel Inc.
+1.613.241.3103



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message