Hello everyone,
we have a webapp with some reports spanning
multiple pages and using offset/limit to fetch data into a Collection. I must
say I find is somewhat tricky to access the counter in an iterator to do render
were in the total resultset the user is. Does anyone hav experience or code for
this type of work?
A typical example would be to have two parameters
keeping track of where one is, offset and limit and pass it to a finder. On each
page I would like a counter increasing by each row, 1-25 on page one, 26-50 on
page two etc.
I have tried accessing and setting the parameters
of the webwork.util.Counter without ant luck...
Any help would
be appreciated!
/Lars Johansson
|
- Re: [OS-webwork] Accessing counter in iterator Lars Johansson
- Re: [OS-webwork] Accessing counter in iterator Konstantin Priblouda
- Re: [OS-webwork] Accessing counter in iterat... Mike Cannon-Brookes