[Plone-IT] Paginazione

Yuri yurj a alfa.it
Mer 20 Lug 2011 13:29:40 UTC


Ottimo.

Il 20/07/2011 14:45, plonista ha scritto:
> ok scusate, ci sono arrivato rileggendo tutti i vari post, mi mancava il
> comando per lanciare la batch e poi avevo sbagliato anche a richiamarla nel
> loop
> ricapitolando per i posteri, un esempio è:
>
> <div tal:define="risultati view/scriptpython; Batch python:
> modules['Products.CMFPlone'].Batch; b_size python:4; b_start python:0;
> b_start request/b_start | b_start;" tal:condition="risultati">
> <table tal:define="batch python: Batch(risultati, b_size, int(b_start),
> orphan=1);">
>    <tr tal:repeat="ris batch">
>      <td tal:content="ris/nome">nome</td>
>    </tr>
>    <tr><td><div metal:use-macro="here/batch_macros/macros/navigation"
> /></td></tr>
> </table>
> </div>
>
> --
> View this message in context: http://plone-regional-forums.221720.n2.nabble.com/Paginazione-tp6548880p6602502.html
> Sent from the Plone - Italy mailing list archive at Nabble.com.
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>    



Maggiori informazioni sulla lista Plone-IT