velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srusda <sru...@yahoo.co.uk>
Subject Re: How to list pages with Velocity and Spring
Date Thu, 12 Oct 2006 05:31:22 GMT

Hi nathan,

could you explain to me, how would be if i have multiple page that need
search & paging. it seems the class that extend AbstractPagerTool can be
used generic way. could you give me some example how to use it ??

thanks in advance.

regards,
srusda


Nathan Bubna wrote:
> 
> http://jakarta.apache.org/velocity/tools/javadoc/org/apache/velocity/tools/view/tools/AbstractPagerTool.html
> 
> On 10/8/06, Erica Ren <erica.ren@gmail.com> wrote:
>> Hi all,
>>
>> this is my first time using the mail list...I have a problem with my
>> application that I was hoping someone here may know the answer. I have
>> Spring 1.2, velocity 1.4, velocity-tool 1.2 and
>> velocity-generic-tool.1.2.
>> I'm retrieving x numbers of records from the database, and only want to
>> display 10 on each page. Each page should have buttons linked to previous
>> or
>> next page. I was thinking of using the listTool but I'm having trouble
>> configuring it. Does anyone know if this can be done using listTool at
>> all,
>> or is there another way of doing it using velocity?
>>
>> Any comments or advice would be greatly appreciated. Thanks in advance.
>>
>> Erica
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-list-pages-with-Velocity-and-Spring-tf2411176.html#a6770115
Sent from the Velocity - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message