Re: last element of logic iterate

2005-03-21 Thread Richard Reyes
thanks On Fri, 18 Mar 2005 09:06:38 -0500, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > > How do you determine if your on the last element of your > > logic:iterate loop? > > JSTL makes this very easy. Something like: > > > > stuff to do in the last iteration > >

Re: last element of logic iterate

2005-03-21 Thread Richard Reyes
thanks On Fri, 18 Mar 2005 03:04:24 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > One way is to use a combination of logic:iterate's indexId attribute > (serves as a loop counter) and the bean:size tag (can give the total > size of a collection before you iterate). Then you could use a > logic:e

RE: last element of logic iterate

2005-03-18 Thread Slattery, Tim - BLS
> How do you determine if your on the last element of your > logic:iterate loop? JSTL makes this very easy. Something like: stuff to do in the last iteration -- Tim Slattery [EMAIL PROTECTED] - To

Re: last element of logic iterate

2005-03-18 Thread Erik Weber
One way is to use a combination of logic:iterate's indexId attribute (serves as a loop counter) and the bean:size tag (can give the total size of a collection before you iterate). Then you could use a logic:equal test inside the iteration. Erik Richard Reyes wrote: Hello All , How do you determ