Suggested case list:
Using timer to refresh a grid
383guest172.69.33.12125nk0uiMay 7, 2020 7:23:47 AMlinkuser model to move item to another listbox
120guest162.158.193.148d0n3krApr 2, 2020 5:28:28 AMlinkDisabled list item row passed to VM-1981
296fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:44 PMlinkDisabled list item row passed to VM-1981
295fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:16 PMlinkDisabled list item row passed to VM-1981
294fatih123160.83.36.13225nk0uiFeb 13, 2018 3:30:44 PMlinkgrid sample with ListModel/RowRenderer
816guest80.82.2.1312vah9ajFeb 21, 2017 11:42:21 AMlinkgrid sample with ListModel/RowRenderer
809guest175.98.113.1622vah9ajJan 26, 2017 9:19:33 AMlinkgrid sample with ListModel/RowRenderer
196guest79.185.142.402vah9ajApr 26, 2014 10:53:57 PMlinkgrid sample with ListModel/RowRenderer
195guest79.185.142.402vah9ajApr 26, 2014 10:53:54 PMlinkgrid sample with ListModel/RowRenderer
194guest79.185.142.402vah9ajApr 26, 2014 10:53:51 PMlinkgrid sample with ListModel/RowRenderer
193guest79.185.142.402vah9ajApr 26, 2014 10:53:48 PMlinkgrid sample with ListModel/RowRenderer
192guest79.185.142.402vah9ajApr 26, 2014 10:53:44 PMlinkgrid sample with ListModel/RowRenderer
191guest79.185.142.402vah9ajApr 26, 2014 10:53:40 PMlinkHierarchy table without using ZK PE/EE
1aaknai151.28.135.2131s871daJul 29, 2013 11:02:46 PMlinkgrid sample with ListModel/RowRenderer
128aaknai151.28.135.2132vah9ajJul 29, 2013 7:20:00 PMlinkuser model to move item to another listbox
1TonyQ114.25.109.94d0n3krApr 21, 2012 10:43:27 AMlinkUsing timer to refresh a grid
1TonyQ220.133.44.3725nk0uiFeb 17, 2012 3:17:34 AMlinkFire a event from child iframe
1TonyQ220.133.44.372eupjotFeb 3, 2012 5:04:52 AMlinkTextbox input restriction sample
1TonyQ72.21.245.2431b3nlr0Dec 20, 2011 10:09:10 AMlinkTest web core taglib in ZUL
1TonyQ198.203.175.175ofqkemDec 17, 2011 3:36:08 AMlinkLatest 10 Fiddles :
constraint binding textbox
3guest172.68.151.16220peldaDec 5, 2025 5:08:19 PMlinkAnother new ZK fiddle
2guest172.68.151.16320peldaDec 5, 2025 5:07:51 PMlinkAnother new ZK fiddle
1guest172.68.151.16220peldaDec 5, 2025 5:07:32 PMlinkAnother new ZK fiddle
1peggypeng172.71.154.99364f4neDec 5, 2025 9:24:31 AMlinktooltip example
2guest104.22.23.13rc1ntoDec 4, 2025 2:23:45 PMlinkAnother new ZK fiddle
1guest172.69.134.2277t7602Dec 4, 2025 1:40:46 PMlinkAnother new ZK fiddle
1peggypeng104.22.17.1802df6e3oDec 4, 2025 8:41:29 AMlinkonClose
1peggypeng172.68.87.248j8kd8aDec 3, 2025 4:10:26 AMlinkAnother new ZK fiddle
1peggypeng172.69.134.2271rm7f4eNov 26, 2025 3:31:24 AMlinkZK-5912-Suggestion
2rebeccalai104.22.20.1442qrmiiuNov 26, 2025 2:07:15 AMlinkAnother new ZK fiddle
1guest162.158.235.671i03ivlDec 14, 2020 12:58:54 PMlinkresources
index.zulzul
<zk>
<style dynamic="true">
.MyRowHeight tr.z-row,tr.z-listheader
{
height:1px;
line-height:7px;
min-height:1px;
}
.L2RowBlue
{
font-weight:bold;font-size:12px;font-style:Trebuchet MS;
text-align:left;
}
.L2RowBlack
{
color:black;font-size:12px;font-style:Trebuchet MS;
text-align:center;
}
.L2RowBlackBold
{
color:black;font-weight:bold;font-size:12px;font-style:Trebuchet MS;
text-align:center;
}
.L2RowWithHand
{
font-style:Trebuchet MS; cursor:hand;
}
</style>
<window id="wl2verificationqueue1" width="100%" height="100%" contentStyle="overflow:auto">
<borderlayout height="100%" style="overflow:auto">
<north id="mainnorth" height="100%" visible="false">
<borderlayout height="100%">
<north border="0" height="60%">
<borderlayout height="100%">
<west border="0" width="3%" autoscroll="true">
<vbox align="center" height="100%" width="30px" pack="start">
<image id="back" src="/images/image_back.png" style="cursor:hand;" tooltiptext="Back Image (Alt+F1)"/>
<image id="front" src="/images/image_front.png" style="cursor:hand;" tooltiptext="Front Image (F2)"/>
<image id="gray" src="/images/image_gray.png" style="cursor:hand;" tooltiptext="Gray Image (Alt + F3)"/>
<image id="zoomin" src="/images/image_zoom_in.png" style="cursor:hand;" tooltiptext="Zoom In Image (F6)"/>
<image id="zoomout" src="/images/image_zoom_out.png" style="cursor:hand;" tooltiptext="Zoom Out Image (F7)"/>
<image id="rrotate" src="/images/image_rr.png" style="cursor:hand;" tooltiptext="Rotate Image (F8)"/>
<image id="negative" src="/images/image_negative.png" style="cursor:hand;" tooltiptext="Negative Image (F9)"/>
<image id="skip" src="/images/image_skip.png" style="cursor:hand;" tooltiptext="Next Instrument (F10)" visible="false"/>
<image id="backtopanel" src="/images/backtopanel.png" style="cursor:hand;" tooltiptext="Back (F12)"/>
</vbox>
</west>
<center border="0" autoscroll="true">
<hbox width="100%" pack="center">
<image id="chqImg"/>
</hbox>
</center>
<east width="29%" border="0" autoscroll="true">
<grid height="99%" style="overflow-y:auto">
<columns width="100%">
<column width="30%"/>
<column width="25%"/>
<column width="20%"/>
<column width="25%"/>
</columns>
<rows>
<row width="100%">
<label value="UDK" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="udklbl" sclass="L2RowBlackBold"/>
</cell>
</row>
<row width="100%">
<label value="Drawee A/c No." sclass="L2RowBlue"/>
<cell colspan="3">
<hbox width="90%" pack="start" align="start">
<textbox id="draweeAcNotb" width="100%" maxlength="16" sclass="L2RowBlack" xmlns:w="client"><attribute w:name="doKeyPress_">function(evt) { if (!this._shallIgnore(evt, '0123456789')) this.$doKeyPress_(evt); }</attribute></textbox>
<button id="callWebServicebtn" label="Get Details" width="85px" mold="trendy"/>
</hbox>
</cell>
</row>
<row width="100%">
<label value="Account Name" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="accnamelbl" sclass="L2RowBlack"/>
</cell>
</row>
<row width="100%">
<label value="BOFD" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="bofdlbl" sclass="L2RowBlack"/>
</cell>
</row>
<row width="100%">
<label value="Home Branch" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="homebrlbl" sclass="L2RowBlack"/>
</cell>
</row>
<row width="100%">
<label value="Amount" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="amountlbl" style="font-weight:bold;font-size:20px;color:red;"/>
</cell>
</row>
<row width="100%">
<label value="Min. Sign. Req." sclass="L2RowBlue"/>
<label id="minsignlbl" sclass="L2RowBlack"/>
<cell colspan="2" align="center">
<toolbarbutton id="dmsLink" label="DMS Link" style="text-decoration:underline"/>
</cell>
</row>
<row width="100%">
<label value="MOP / Remarks :" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="mop_remarks" sclass="L2RowBlack"/>
</cell>
</row>
<row width="100%" visible="false" id="ciRow" >
<cell colspan="4" align="center">
<image id="cautionImg" src="images/caution.gif"/>
</cell>
</row>
<row width="100%">
<label value="CBS Remarks" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="remarkslbl" multiline="true" sclass="L2RowBlack" style="word-wrap: break-word;" />
</cell>
</row>
<row width="100%" visible="false">
<label value="ICR Amount" sclass="L2RowBlue"/>
<cell colspan="3" valign="middle">
<label id="icrAmtlbl" sclass="L2RowBlack"/>
</cell>
</row>
<row width="100%" visible="false">
<label value="ICR Date" sclass="L2RowBlue"/>
<label id="icrDatelbl" sclass="L2RowBlack"/>
<cell colspan="2" align="center">
</cell>
</row>
<row width="100%">
<label value="CBS Postive Pay Flag" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="cbspositivepaylbl" multiline="true" sclass="L2RowBlack" style="word-wrap: break-word;"/>
</cell>
</row>
<row width="100%">
<label value="CPPS Flag" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="npcipositivepaylbl" multiline="true" sclass="L2RowBlack" style="word-wrap: break-word;"/>
</cell>
</row>
<row width="100%">
<label value="Postive Payee Name" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="positivePayeeNamelbl" multiline="true" sclass="L2RowBlack" style="word-wrap: break-word;"/>
</cell>
</row>
</rows>
</grid>
</east>
<south border="0" height="0%"/>
</borderlayout>
</north>
<south id="south" height="40%">
<borderlayout height="100%">
<north border="0" height="70px">
<grid id="datagrid" height="100%">
<columns>
<column width="7%" align="center"/>
<column width="8%" align="center"/>
<column width="7%" align="center"/>
<column width="4%" align="center"/>
<column width="8%" align="center"/>
<column width="6%" align="center"/>
<column width="4%" align="center"/>
<column width="4%" align="center" visible="false"/>
<column width="7%" align="center"/>
<column width="36%" align="center"/>
</columns>
<rows>
<row width="100%" height="50%">
<label value="Cheque No." sclass="L2RowBlue"/>
<label value="Sort Code" sclass="L2RowBlue"/>
<label value="Base No." sclass="L2RowBlue"/>
<label value="TC" sclass="L2RowBlue"/>
<label value="MICR Alert" sclass="L2RowBlue"/>
<label value="Dup Flag" sclass="L2RowBlue"/>
<label value="P2F" sclass="L2RowBlue"/>
<label value="IQA" sclass="L2RowBlue" visible="false"/>
<label value="Staff Flag" sclass="L2RowBlue"/>
<label value="Profit Centre" sclass="L2RowBlue"/>
</row>
<row width="100%" height="50%">
<label id="chequenolbl" sclass="L2RowBlackBold"/>
<label id="payeesortcodelbl" sclass="L2RowBlackBold"/>
<label id="basenolbl" sclass="L2RowBlackBold"/>
<label id="tclb1" sclass="L2RowBlackBold"/>
<label id="micralertlbl" sclass="L2RowBlackBold"/>
<label id="dupflaglbl" sclass="L2RowBlackBold"/>
<label id="p2flbl" sclass="L2RowBlackBold"/>
<label id="iqalvl" sclass="L2RowBlackBold" visible="false"/>
<label id="staffflaglbl" sclass="L2RowBlackBold"/>
<label id="profitcentrelbl" sclass="L2RowBlackBold"/>
<label/>
</row>
</rows>
</grid>
</north>
<center border="0">
<borderlayout height="100%">
<north border="0" height="0%"/>
<west width="0%">
</west>
<east border="0" width="100%">
<borderlayout height="100%" width="100%">
<west width="95px" border="0">
<radiogroup id="groupnmrg">
<grid>
<rows>
<row>
<radio id="grpA" label="Group A" radiogroup="groupnmrg"/>
</row>
<row>
<radio id="grpB" label="Group B" radiogroup="groupnmrg"/>
</row>
<row>
<radio id="grpC" label="Group C" radiogroup="groupnmrg"/>
</row>
<row>
<radio id="grpD" label="Group D" radiogroup="groupnmrg"/>
</row>
</rows>
</grid>
</radiogroup>
</west>
<center border="0">
<borderlayout height="100%" width="100%">
<north border="0"/>
<west width="40%" border="0">
<listbox id="signatorylistbox" width="100%" height="100%" style="overflow-y:auto">
</listbox>
</west>
<center autoscroll="true">
<image id="signImg"/>
</center>
<east width="30px" border="0">
<vbox id="vboxsignbtn" align="center" pack="start" width="100%">
<image id="signzoomin" src="/images/image_zoom_in.png" style="cursor:hand;" tooltiptext="Zoom In Sign"/>
<image id="signzoomout" src="/images/image_zoom_out.png" style="cursor:hand;" tooltiptext="Zoom Out Sign"/>
<image id="signrrotate" src="/images/image_rr.png" style="cursor:hand;" tooltiptext="Flip Sign"/>
</vbox>
</east>
<south border="0"/>
</borderlayout>
</center>
<east width="35%" border="0">
<borderlayout height="100%">
<north border="0"/>
<center>
<listbox id="selectedSignListBox" width="100%" height="100%" style="overflow-y:auto">
<listhead>
<listheader width="20%" label="UCIC" sort="auto" align="center"/>
<listheader width="57%" label="Customer Name" sort="auto" align="center"/>
<listheader width="23%" label="Relationship" sort="auto" align="center"/>
</listhead>
</listbox>
</center>
<south border="0" height="30px">
<hbox pack="center" align="center" width="100%" height="100%">
<label id="instid" visible="false"/>
<button id="passbtn" label="Pass" mold="trendy"/>
<button id="returnbtn" label="Return" mold="trendy"/>
<button id="referbtn" label="Refer" mold="trendy"/>
<button id="resetbtn" label="Reset" mold="trendy"/>
<button id="lastverbtn" label="History (5)" width="100%" mold="trendy"/>
</hbox>
</south>
</borderlayout>
</east>
</borderlayout>
</east>
<south border="0" height="0%"/>
</borderlayout>
</center>
<south border="0" height="0%"/>
</borderlayout>
</south>
</borderlayout>
</north>
<south id="filtersouth" height="100%" title="Batch Details" visible="true">
<div width="100%" height="100%" align="center">
<separator/>
<div id="searchDiv" height="20%" width="80%" align="center" visible="true">
<grid height="99%" style="overflow-y:auto">
<columns width="100%">
<column width="30%"/>
<column width="25%"/>
</columns>
<row width="100%">
<label value="Clearing Type"/>
<combobox id="clearingtypecb" width="30%" readonly="true"/>
</row>
<row width="100%">
<label value="CBS Positive Pay"/>
<combobox id="cbspositivepaycb" width="30%" readonly="true"/>
</row>
</grid>
</div>
<div id="listDiv" align="center" width="98%" visible="false">
<listbox id="batchGrid" width="92%" mold="paging" pageSize="10">
<listhead>
<listheader align="center" width="4%">
<checkbox id="allcb" checked="false"/>
</listheader>
<listheader align="center" width="15%" label="Batch Number"/>
<listheader align="center" width="10%" label="Batch Count"/>
<listheader align="center" width="15%" label="Batch Amount"/>
<listheader align="center" width="15%" label="Pending Count"/>
<listheader align="center" width="15%" label="Processed Count"/>
<listheader align="center" width="15%" label="Status"/>
<listheader align="center" width="15%" label="User Id"/>
</listhead>
</listbox>
<separator/>
<hbox pack="end" height="25%" width="92%">
<label id="showstatuslbl" style="color: red; font-weight:bold;font-size:14px;font-style:Trebuchet MS;"/>
<space bar="false" spacing="15px"/>
<button id="verifyallBtn" label="Verify" mold="trendy"/>
<space bar="false" spacing="5px"/>
<button id="backToSearchBtn" label="Back" mold="trendy"/>
<space bar="false" spacing="5px"/>
<button id="releaseLockBtn" label="Release Locked" mold="trendy"/>
</hbox>
</div>
</div>
</south>
</borderlayout>
</window>
</zk>TestComposer.javajavaimport org.zkoss.zk.ui.*;
import org.zkoss.zk.ui.event.*;
import org.zkoss.zk.ui.util.*;
import org.zkoss.zk.ui.ext.*;
import org.zkoss.zk.au.*;
import org.zkoss.zk.au.out.*;
import org.zkoss.zul.*;
public class TestComposer extends GenericForwardComposer{
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
}
public void onClick$btn(Event e) throws InterruptedException{
Messagebox.show("Hi btn");
}
}