<zk> <zscript> Object[] o = new Object[50]; </zscript> <toolbar> <hlayout sclass="z-valign-middle"> <toolbarbutton label="other button 1"></toolbarbutton> <paging id="pagenavi" pageSize="10"></paging> <toolbarbutton label="other button 2"></toolbarbutton> </hlayout> </toolbar> <listbox id="listbox" mold="paging" paginal="${pagenavi}"> <listhead> <listheader label="name"></listheader> </listhead> <listitem forEach="${o}"> <listcell label="item ${forEachStatus.index}" /> </listitem> </listbox> </zk>
For more information, please refer the following thread
http://www.zkoss.org/forum/listComment/19535-Listbox-mold-paging