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
[email protected]
https://lists.plone.org/mailman/listinfo/plone-plone-it
http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html

Rispondere a