I figured. The solution to "I can't solve this problem" is rarely "let's add a new tag to the framework." jk
On Sun, May 31, 2009 at 10:08 AM, Dave Newton <newton.d...@yahoo.com> wrote: > Jim Kiley wrote: > >> Assuming that you're iterating over a List, why not instead iterate over a >> List of Integers, and use those Integers as the index to your iterator? >> You >> can increment the counter inside the iterator. Or if you need to get >> foo[0] >> and foo[1] on the first run through, foo[2] and foo[3] on the next run, >> you >> could iterate over a List {0, 2, 4, 6, 8...} and get dataList[i] and >> dataList [i + 1]. It's easy enough to dynamically generate the List of >> Integers in your action class. >> > > Yep--that was the "just use the index" bit, but I'm grumpy today and didn't > feel like spelling it out :) > > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com