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
1guest116.68.96.202asmnj9Feb 13, 2019 6:00:31 AMlinkresources
index.zulzul<?page title="L2 Instrument Wise verification" contentType="text/html;charset=UTF-8"?>
<zk>
<window id = "wL2_verify_ow" sclass="expstyle1" width="100%" height="100%" contentStyle="overflow:auto">
<style>
.expstyle1 .z-window-modal-tl, .expstyle1 .z-window-modal-tr, .expstyle1 .z-window-modal-tm,
.expstyle1 .z-window-modal-cl, .expstyle1 .z-window-modal-cr, .expstyle1 .z-window-modal-cm,
.expstyle1 .z-window-modal-bl, .expstyle1 .z-window-modal-br, .expstyle1 .z-window-modal-bm,
.expstyle1 .z-window-modal-hl, .expstyle1 .z-window-modal-hr, .expstyle1 .z-window-modal-hm
{
background: #007DC8;
}
.expstyle1 .z-window-modal-header
{
background: #007DC8;
}
.expstyle1 .z-textbox
{
text-transform:none;
}
</style>
<borderlayout height="100%" style="overflow:auto">
<north id="north" title="Batch Details" maxsize="300" size="95%" visible="false" >
<div width="100%" height="100%" align="center">
<separator/>
<div id = "filterdiv" align="center" width="80%" height="30%" >
<separator/>
<label value = "Clearing Type" > </label><space bar="false" spacing="10px"></space><combobox id = "clearingtypecb" width ="30%" readonly="true"></combobox>
<separator/>
<label value = "Flow Type" > </label><space bar="false" spacing="25px"></space><combobox id = "flowtypecb" width ="30%" readonly="true"></combobox>
<separator/>
<space bar="false" spacing="300px"></space><button id = "processbtn" label="Process" mold = "trendy" style="align:right"></button>
</div>
<div id = "batchdetailsdiv" visible = "false" align="center" width="100%" height="100%" >
<listbox id = "batchdata_listb" height="null" width="99%" mold="paging" pageSize="10">
<listhead>
<listheader align = "center" width="6%" label="BOFD" />
<listheader align = "center" width="8%" label="Batch Number" />
<listheader align = "center" width="7%" label="Clearing Type" />
<listheader align = "center" width="8%" label="Batch Count" />
<listheader align = "center" width="10%" label="Batch Amount" />
<listheader align = "center" width="9%" label="Pending Count" />
<listheader align = "center" width="9%" label="Processed Count" />
<listheader align = "center" width="8%" label="Status" />
<listheader align = "center" width="26%" label="User ID" />
<listheader align = "center" width="9%" label="IQA Failed Count" />
</listhead>
</listbox>
<hbox pack="end" height="1%" width="95%" ></hbox>
<hbox pack="end" height="2%" width="99%" >
<label id ="msg" style="color: red; font-weight:bold;font-size:15px;font-style:Trebuchet MS;"></label>
<space bar="false" spacing="280px"></space>
<hbox width="90%" align ="end" pack="end" >
<hbox align ="center" pack="center" width = "70%" >
<button id="backbtn" label="Back" mold = "trendy" /> <space bar="false" spacing="5px"></space><button id="refreshbtn" label="Refresh" mold = "trendy" /><space bar="false" spacing="5px"></space><button id="releasesessionbtn" label="Release Locked" mold = "trendy"/>
</hbox>
</hbox>
</hbox>
</div>
</div>
</north>
<center border="0" >
<borderlayout id="recordborder" height="100%" visible="true">
<west width = "65%" >
<borderlayout height="100%">
<north height="48%" >
<borderlayout width="100%" height="98%">
<east width = "94%">
<div height="100%" width="100%" align = "center" style="overflow: auto;">
<image id="slip_img" height="95%" ></image>
</div>
</east>
<west width="4%" border="0" >
<div height="98%" width="100%" align = "center" style="overflow-y: auto">
<image id = "back_slip" src="/images/image_back.png" style="cursor:hand;" tooltiptext="Back Image (Alt+s)"></image>
<image id = "front_slip" src="/images/image_front.png" style="cursor:hand;" tooltiptext="Front Image (Alt+r)"></image>
<image id = "gray_slip" src="/images/image_gray.png" style="cursor:hand;" tooltiptext="Gray Image (Alt+l)"></image>
<image id = "zoomin_slip" src="/images/image_zoom_in.png" style="cursor:hand;" tooltiptext="Zoom In Image (Alt+b)"></image>
<image id = "zoomout_slip" src="/images/image_zoom_out.png" style="cursor:hand;" tooltiptext="Zoom Out Image (Alt+j)"></image>
<image id = "rrotate_slip" src="/images/image_rr.png" style="cursor:hand;" tooltiptext="Rotate Image (Alt+u)"></image>
<image id = "negative_slip" src="/images/image_negative.png" style="cursor:hand;" tooltiptext="Negative Image (Alt+q)"></image>
<image id = "skip_slip" src="/images/image_skip.png" style="cursor:hand;" tooltiptext="Next Instrument (Alt+n)"></image>
<image id = "backtopanel_slip" src="/images/backtopanel.png" style="cursor:hand;" tooltiptext="Back To Batch (F12)"></image>
<label id="instid_slip" visible ="false"></label>
</div>
</west>
<south height ="28px" >
<hbox pack="center" align="center" width = "90%">
<hbox pack="center" align="center" width = "60%" >
<space bar="false" spacing="40px"/><button id="passslipbtn" label="Pass" mold = "trendy"/><space bar="false" spacing="60px"></space><button id="referslipbtn" label="Refer" mold = "trendy"/><space bar="false" spacing="60px"></space><button id="Correctionslipbtn" label="Correction" mold = "trendy"/>
</hbox>
</hbox>
</south>
</borderlayout>
</north>
<center >
<borderlayout height="100%" width="98%" >
<east width = "94%">
<div height="100%" width="100%" align = "center" style="overflow: auto;">
<image id="chq_img" height="95%" ></image>
<grid id="micrgrid" width="99%" >
<columns width="100%">
<column width="14%"></column>
<column width="18%"></column>
<column width="12.5%"></column>
<column width="12.5%"></column>
<column width="12.5%"></column>
<column width="18%" > </column>
<column width="12.5%"></column>
</columns>
<rows>
<row>
<label value="MICR"></label>
<textbox id="instrumentnumberintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="payeecitycodeintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="payeebankcodeintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="payeebranchcodeintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="sanintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="tcintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
</rows>
</grid>
</div>
</east>
<west width="4%" border="0" >
<div height="100%" width="100%" align = "center" style="overflow-y: auto">
<image id = "back" src="/images/image_back.png" style="cursor:hand;" tooltiptext="Back Image (Alt+F1)"></image>
<image id = "front" src="/images/image_front.png" style="cursor:hand;" tooltiptext="Front Image (F2)"></image>
<image id = "gray" src="/images/image_gray.png" style="cursor:hand;" tooltiptext="Gray Image (F3)"></image>
<image id = "zoomin" src="/images/image_zoom_in.png" style="cursor:hand;" tooltiptext="Zoom In Image (F6)"></image>
<image id = "zoomout" src="/images/image_zoom_out.png" style="cursor:hand;" tooltiptext="Zoom Out Image (F7)"></image>
<image id = "rrotate" src="/images/image_rr.png" style="cursor:hand;" tooltiptext="Flip Image (F8)"></image>
<image id = "negative" src="/images/image_negative.png" style="cursor:hand;" tooltiptext="Negative Image (F9)"></image>
<image id = "skip" src="/images/image_skip.png" style="cursor:hand;" tooltiptext="Next Instrument (Alt+m)"></image>
<!-- <image id = "backtopanel" src="/images/backtopanel.png" style="cursor:hand;" tooltiptext="Back To Batch (F12)"></image> -->
<label id="instid" visible ="false"></label>
</div>
</west>
</borderlayout>
</center>
<south height = "38px">
<div id="div" width="100%" height="100%" >
<grid height="99%" width="100%" >
<columns width="100%">
<column width="40%" align="left"></column>
<column width="60%" align="right"></column>
</columns>
<rows>
<row>
<hbox><label value = "Item Sequence Number : "></label> <label id= "itemseqlbl" value = "" /></hbox><hbox pack="end" align = "end" ><button id="passbtn" label="Pass" mold = "trendy"/><space bar="false" spacing="20px"/><button id="rejectbtn" label="Reject" mold = "trendy"/><space bar="false" spacing="20px"/><button id="referbtn" label="Refer" mold = "trendy"/><space bar="false" spacing="20px"/><button id="Correctionbtn" label="Correction" mold = "trendy"/><space bar="false" spacing="20px"/><button id="historybtn" label="History" mold = "trendy"/></hbox>
</row>
</rows>
</grid>
</div>
</south>
</borderlayout>
</west>
<east width = "35%">
<borderlayout height="100%" width="100%">
<north height="95%" >
<div id="micrdatediv0" width="100%" height="100%" >
<grid id="retail_ip_grid" height="99%" width="98%" style="overflow-y: auto">
<columns width="100%">
<column width="40%"></column>
<column width="60%"></column>
</columns>
<rows>
<row>
<label value="BOFD"></label>
<label id="bofdtb" width = "90%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"/>
</row>
<row>
<label value="Flow Type"></label>
<label id="flowtype" width = "90%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"/>
</row>
<row>
<label value="Account Number"></label>
<label id="accnotb" width = "90%" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:18px;"/>
</row>
<row>
<label value="Account Status"></label>
<label id="accstatustb" width = "90%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
<row>
<label value="Account Freeze Status"></label>
<label id="accfreezestatustb" width = "90%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
<row id = "slipamounrrow">
<label value="Slip Amount"></label>
<label id = "slipamtlbl" style="text-align:left;font-style: oblique;font-weight:bold;font-size:16px;color:red"></label>
</row>
<row>
<label value="Account NRE Status"></label>
<label id="accnrestatustb" width = "90%" />
</row>
<row>
<label value="Drawee Bank Name"></label>
<label id="draweebanknametb" width = "90%" />
</row>
<row>
<label value="Doc Type"></label>
<combobox id = "doctypetb" width = "90%" readonly="true" style="text-align:left;font-style: oblique;font-size:15px;font-weight:bold;" />
</row>
<row>
<label value="Clearing Type"></label>
<combobox id = "editclearingtypecb" width = "90%" readonly="true" style="text-align:left;font-style: oblique;font-size:15px;font-weight:bold;" />
</row>
<row>
<label value="ICR Date"></label>
<label id="icrdatetb" width = "90%" />
</row>
<row>
<label value="System Remarks"></label>
<label id="systemremarkstb" width = "90%" />
</row>
<row id ="micrrrflagrow" >
<label value="MICR repair Flag"></label>
<label id="micrrepairflagtb" width = "90%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"/>
</row>
<row id = "cautionremarkrow" visible ="false" >
<label value="Caution Cheque Mark" ></label>
<label id="cautioncheckmarktb" width = "90%" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
<row id = "cautionremarkimg" visible ="false" >
<cell colspan="2" align="center">
<image id="cautionImg" src="images/caution.gif"/>
</cell>
</row>
<row >
<label value="MICR Alert" ></label>
<label id="micralertlbl" width = "90%" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
<row id = "acntnamerow" visible ="true" >
<label value="Account Name"></label>
<textbox id="accnametb" width = "90%" readonly="true" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"/>
</row>
<row>
<label value="Cheque Amount"></label>
<textbox id="chqamttb" width = "90%" readonly="true" style="text-align:left;font-style: oblique;font-weight:bold;font-size:16px;color:red;"/>
</row>
<row id = "currencyalertrow" visible="false">
<label value="Currency Alert" ></label>
<label id="currencyalerttb" width = "90%" />
</row>
<row visible="false" >
<label value="Payee Name"></label>
<textbox id="payeenametb" width = "90%" readonly="true" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"/>
</row>
<row id ="duplicaterow" visible="false">
<label value="Duplicate Cheque Alert" ></label>
<label id="depchequealertctb" width = "90%" />
</row>
<row>
<label value="Batch Number"></label>
<label id="batchnotb" width = "90%" />
</row>
<row>
<label value="Message"></label>
<label id="msglbl" width = "90%" />
</row>
<row>
<label value="Staff Flag"></label>
<label id="staffflaglbl" width = "90%" />
</row>
</rows>
</grid>
</div>
</north>
<south height="5%">
<div id="amountdiv" width="100%" height="100%" style="overflow-y: auto" >
<grid id="amountgeid" width="99%" >
<columns width="100%">
<column width="60%"></column>
<column width="40%"></column>
</columns>
<rows>
</rows>
</grid>
<!-- <grid id="micrgrid" width="99%" >
<columns width="100%">
<column width="14%"></column>
<column width="18%"></column>
<column width="12.5%"></column>
<column width="12.5%"></column>
<column width="12.5%"></column>
<column width="18%" > </column>
<column width="12.5%"></column>
</columns>
<rows>
<row>
<label value="MICR"></label>
<textbox id="instrumentnumberintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="payeecitycodeintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="payeebankcodeintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="payeebranchcodeintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="sanintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
<textbox id="tcintb" readonly="true" width = "100%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
</rows>
</grid> -->
</div>
</south>
</borderlayout>
</east>
</borderlayout>
</center>
</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");
}
}