Re: (!) Simple for-next loops using , was: Re: [S2] using for a sequence of integers

2008-06-17 Thread Dave Newton
I added a code sample to IteratorComponent and threw it in to tag docs but it'll take the normal amount of time to percolate. (People complain about OGNL, but I sure do like it more than JSP EL, even with the occasional "Hmm, that's... interesting.") Thanks for throwing it into the FAQ; not su

Re: (!) Simple for-next loops using , was: Re: [S2] using for a sequence of integers

2008-06-17 Thread Laurie Harper
Thank you Dave; I've been telling myself there *must* be an OGNL solution for this for so long, but hadn't managed to track it down. It's the first time I've seen this solution posted, and I definately think it's worth an entry in the FAQ! http://cwiki.apache.org/confluence/pages/viewpage.acti

Re: (!) Simple for-next loops using , was: Re: [S2] using for a sequence of integers

2008-06-17 Thread Dave Newton
Aww, you guys are making me sad :( --- On Tue, 6/17/08, Al Sutton <[EMAIL PROTECTED]> wrote: > From: Al Sutton <[EMAIL PROTECTED]> > Subject: Re: (!) Simple for-next loops using , was: Re: [S2] > using for a sequence of integers > To: "Struts Users Mailing Li

Re: (!) Simple for-next loops using , was: Re: [S2] using for a sequence of integers

2008-06-17 Thread Al Sutton
+100 for the for tag. It'll mean I don't end up using displaytag and including the jar just to show simple paged lists. Musachy Barroso wrote: Nice, and confusing :) //I think we should create a "for" tag musachy On Tue, Jun 17, 2008 at 9:38 AM, Dave Newton <[EMAIL PROTECTED]> wrote: F

Re: (!) Simple for-next loops using , was: Re: [S2] using for a sequence of integers

2008-06-17 Thread Musachy Barroso
Nice, and confusing :) //I think we should create a "for" tag musachy On Tue, Jun 17, 2008 at 9:38 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > From time to time people ask about implementing a simple loop using > similar to . > > Turns out there's some OGNL magic for doing simple loops (start

(!) Simple for-next loops using , was: Re: [S2] using for a sequence of integers

2008-06-17 Thread Dave Newton
>From time to time people ask about implementing a simple loop using > similar to . Turns out there's some OGNL magic for doing simple loops (start at 0, go to n-1), and the significance of it never really struck me until the #this questions. Narnar Aww yeah. Dave "OGNL FTW" Newton ---