ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Last Page w/ PaginatedList
Date Thu, 23 Dec 2004 17:29:00 GMT
You can easily calculate the last page given the row count and the page size.

Cheers,
Clinton


On Thu, 23 Dec 2004 08:32:06 -0800 (PST), Kris Kazibut
<doubledown32@yahoo.com> wrote:
> Hi all-
> 
> I've been using iBatis 2.0.7 (DAO and SQL Maps) in my
> web app for a while now with great success (Thanks!).
> Currently, I have some search pages that use the
> PaginatedList functionality for paging through search
> results.  I handle this through a method I wrote to
> handle whether the user wants to go forward and back
> and also refresh my search counters (Showing Results x
> out of xxx) that are displayed on the search results
> page.  I would like to add the ability for a user to
> go to the last page of the results instead of having
> to page through big result sets.  Is there an easy way
> to do this?
> 
> Thanks!
> 
> Kris
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Mime
View raw message