velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: AbstractPagerTool
Date Tue, 10 Oct 2006 16:15:08 GMT
Thanks so much! I will try that today. 
The tools are very helpful indeed, I'm already using listTool and if I can 
get AbstractPagerTool to work it will save me so much headache. Thanks!

"Nathan Bubna" <> 
10/10/2006 12:09 PM
Please respond to
"Velocity Users List" <>

"Velocity Users List" <>

Re: AbstractPagerTool

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 
> velocity mailer for some reason and I couldn't figure out how to reply 
> the thread...

> I was wondering if anyone can provide an example of using 
> I am getting a list of objects from the database and would like to 
> 10 records per page. Thank you.

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message