Friday, 18 May 2012

Listitem Mold Paging - Add components in the pagination bar


<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

1 comment:

  1. All suppliers and consultants should register as vendors. The portal will be used as a critical procurement tool in shortlisting of suppliers in competitive bidding.
    Industrial hygiene expert witness and testimony services

    ReplyDelete

Passing Parameter between two files using MVVM

This examples shows how to pass parameter between two zul screens. In this example, we are passing some parameters from the parent vm to...