Hi,

I'm wanting to have different pagers displayed on the same page
template.  For example displaying the WeblogEntriesPager,
CommentsPager and UsersPager all on the frontpage weblog.  There's no
problem initially displaying them, but when it comes to paging through
then each pager reacts to the same next/prev links (when ?page=1, all
pagers move to the next set of results).

One way I could fix this is to make each type of pager react to a
different query param (e.g.  ?entpage=1&compage=3&usrpage=1) and
extend the *Pagers.java, URLUtilities.java & WeblogPageRequest.java to
handle all the different types of pager.  But that kinda screws-up the
whole Pager model, and adding any new types of pagers wouldn't be so
easy.

So, I was wondering if anyone had some neat idea on how to go about this?

Thanks in advance!

Cheers,

Richard

Reply via email to