Hello,

The pagers are located in
roller-project/weblogger-web/src/main/java/org/apache/roller/weblogger/ui/rendering/pagers
package. It would depend on which pager you are refering to.

For AbstractPager based classes it would be $pager.page or $pager.getPage().

For WeblogEntriesPager (or AbstractWeblogEntriesPager) based classes it
looks like you may need to add a getter method your self.


Possibly could try $model.getRequestParameter("page") may work?

where  $model == org.apache.roller.weblogger.ui.rendering.model.PageModel.
Not recommended!

Cheers Greg

On 8 February 2013 14:16, Peter warde <[email protected]> wrote:

>
> I am writing a custom macro.
>
> There are next and previous links for a pager, but does anyone know how to
> get the the index of the current page for the $pager?
> --
> View this message in context:
> http://old.nabble.com/index-of-the-current-page-tp34999616s12275p34999616.html
> Sent from the Roller - Dev mailing list archive at Nabble.com.
>
>

Reply via email to