[Zope] dtml-in pagination
Bobby
cybercruiserz at yahoo.com
Tue Apr 7 15:48:21 EDT 2009
Could someone point me to some documentation on how to do pagination? Thanks.
--- On Tue, 4/7/09, Bobby <cybercruiserz at yahoo.com> wrote:
> From: Bobby <cybercruiserz at yahoo.com>
> Subject: [Zope] dtml-in pagination
> To: zope at zope.org
> Date: Tuesday, April 7, 2009, 10:58 AM
> Hi,
>
> I'm trying to do pagination with dtml-in; could one of
> you show my why i can't get the next and previous button
> from my code below to work?
>
> Also, i need to do view per page: 1,2,3,etc. and allow the
> user select the number of records displayed per page (size)
> as well. Thanks in advance for any advice.
>
> <dtml-in
> "getTable(table=table,order_by=order_by,sort=sort)"
> size=10 start=0>
> <dtml-if sequence-end>
> <tr>
> <td colspan=3>
> <a href="?table=<dtml-var
> table>&order_by=<dtml-var
> order_by>&sort=<dtml-var
> sort>&start=<dtml-var
> previous-sequence>">previous</a>
> <a href="?table=<dtml-var
> table>&order_by=<dtml-var
> order_by>&sort=<dtml-var
> sort>&start=<dtml-var
> next-sequence>">next</a>
> </td>
> </tr>
> </dtml-if sequence-end>
>
> </dtml-in>
>
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list