Pagination in Seaside?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Pagination in Seaside?

Conrad Taylor
Hi, I have many records that I would like to display and I would like to display 16 records per page in a horizontal manner.  Thus, is there support for pagination in Seaside?

Thanks in advance,

-Conrad



_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Pagination in Seaside?

Patrick Collison
On 30/08/2007, Conrad Taylor <[hidden email]> wrote:
> Hi, I have many records that I would like to display and I would like to
> display 16 records per page in a horizontal manner.  Thus, is there support
> for pagination in Seaside?

Yes -- check out WABatchedList. It's also much easier to roll your
own, though, than it is in most frameworks.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Pagination in Seaside?

Ramon Leon-5
In reply to this post by Conrad Taylor
> Subject: [Seaside] Pagination in Seaside?
>
> Hi, I have many records that I would like to display and I
> would like to display 16 records per page in a horizontal
> manner.  Thus, is there support for pagination in Seaside?
>
> Thanks in advance,
>
> -Conrad

See WABatchedList, use it directly, or subclass it to override a few key
things if you're paging more than in memory objects.  I use a custom
subclass to page objects across a web service, works great.

Ramon Leon
http://onsmalltalk.com

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside