velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <>
Subject Re: AbstractPagerTool
Date Tue, 10 Oct 2006 16:09:04 GMT
I've laid out examples in the javadoc:

The process is:

1) Create a MyPagerTool class that extends AbstractPagerTool and
implements the setup() method (see javadoc for an example)
2) Add the MyPagerTool and LinkTool
( to your
toolbox.xml as request-scoped tools
3) Use the tools as demonstrated in the example "pager.vm" template
from the javadoc.  In fact, i believe you can use that exact template
without problems.

On 10/10/06, Erica Ren <> wrote:
> Sorry this is a reply to the following thread, because my mailbox rejects
> velocity mailer for some reason and I couldn't figure out how to reply to
> the thread...
> I was wondering if anyone can provide an example of using AbstractPagerTool.
> I am getting a list of objects from the database and would like to display
> 10 records per page. Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message