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
1guest115.254.63.502svl4ufMay 17, 2019 3:17:03 PMlinkresources
index.zulzul<zk>
<window border="normal" title="hello" apply="pkg$.TestComposer">
<borderlayout height="100%" style="overflow:auto">
<north id="northdiv" title="Batch Details" maxsize="300" size="100%" splittable="true" collapsible="true" >
<div width="100%" height="100%" align="center">
<separator width="10%"></separator>
<div id = "clgtypeselectdiv" height="100%" width="55%" align="center" visible="true">
<grid id="batch_grid" width="null" height="60%" oddRowSclass="none">
<columns>
<column width="7%"></column>
<column width="20%" ></column>
<column width="30%"></column>
</columns>
<rows>
<row align="left" width="100%" > <label></label><label id ="msg1lbl" style="color: black; font-weight:bold;font-size:15px;font-style:Trebuchet MS;" value="Enter Search Criteria"></label></row>
<row></row>
<row align="left" width="100%" ><label></label><label value="Business Date"></label><combobox id="businessdatecb" width="80%" readonly="true"></combobox></row>
<row align="left" width="100%" ><label></label><label value="Flow Type"></label><combobox id="flowtypecb" width="80%" readonly="true"></combobox></row>
<row align="left" width="100%" ><label></label><label value="Cheque Date"></label><combobox id="chequedatecb" width="80%" readonly="true"></combobox></row>
<row align="left" width="100%"><label></label><label value="Batch Number"></label><textbox id="batchnumtb" width="80%" maxlength="150"></textbox></row>
<row align="left" width="100%"><label></label><label value="Cheque Number"></label><textbox id="chenumtb" width="80%" maxlength="150"></textbox></row>
<row align="left" width="100%"><label></label><label value="Amount"></label><textbox id="amttb" maxlength="150" width="80%" ></textbox></row>
<row align="left" width="100%"><label></label><label value="Credit Account Number"></label><textbox id="creditacnotb" width="80%" maxlength="150"></textbox></row>
<row align="left" width="100%"><label></label><label value="Drawee Bank Code"></label><textbox id="draweebctb" maxlength="150" width="80%" ></textbox></row>
</rows>
</grid>
<hbox pack="center" height="2%" width="80%"></hbox>
<hbox pack="end" height="1%" width="100%" >
<hbox pack="end" height="1px" width="50%" >
<button class="btn btn-primary" id="searchbtn" label="Search" width="99%" visible="true" mold="trendy"/>
</hbox>
</hbox>
<hbox pack="center" height="5%" width="70%"></hbox>
</div>
<div id="serchdiv" align ="center" width ="98%" height="null" visible="false">
<grid id = "searchrecordgrid" height="20%" width="100%" align="center" visible="true">
<rows>
<row><label id="displayrcd_datelbl"></label></row>
</rows>
</grid>
<listbox id="searchlistbx" multiple="true" checkmark="true">
<listhead>
<listheader align = "center" width="12%" label="Select All" />
<listheader align = "center" width="12%" label="Batch Number" />
<listheader align = "center" width="18%" label="Batch Amount" />
<listheader align = "center" width="16%" label="Batch Count" />
<listheader align = "center" width="16%" label="Processed Count" />
<listheader align = "center" width="16%" label="Pending Count" />
<listheader align = "center" width="11%" label="Channel" />
<listheader align = "center" width="11%" label="Status" />
<listheader align = "center" width="16%" label="User Id" />
</listhead>
</listbox>
<hbox pack="end" height="2%" width="100%" ></hbox>
<hbox pack="end" height="25%" width="100%" >
<label id ="msglbl" style="color: red; font-weight:bold;font-size:15px;font-style:Trebuchet MS;"></label>
<space bar="false" spacing="250px"></space>
<button id="backbtn" label="Back" mold = "trendy" width="100px" visible="true" class="btn btn-primary" />
<space bar="false" spacing="10px"></space>
<button id="refreshbtn" label="Release Lock" mold = "trendy" width="100px" visible="true" class="btn btn-primary" />
<space bar="false" spacing="10px"></space>
<button id="deletebatchbtn" label="Delete" mold = "trendy" width="100px" visible="true" class="btn btn-primary" />
<space bar="false" spacing="10px"></space>
<combobox id="delreasoncb" width="80%" readonly="true"></combobox>
</hbox>
</div>
</div>
</north>
<center border="0">
<borderlayout height="100%" id ="centerbl" visible ="false">
<north border = "0" height="0"></north>
<center border = "0">
<panel width="100%" height="100%">
<panelchildren>
<borderlayout height="100%" width="100%">
<west width="4%">
<div align="center" width="100%" height="100%">
<vbox align="right">
<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="Rotate 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 (F10)"></image>
<image id="backtopanel" src="/images/backtopanel.png" style="cursor:hand;" tooltiptext="Back To Panel (F12)"></image>
<label id="instidlbl" visible ="false"></label>
</vbox>
</div>
</west>
<center>
<div style="overflow:auto">
<panel width="100%" height="100%" >
<panelchildren style="overflow:auto" >
<image id="chq_img" width="90%" height="100%"></image>
</panelchildren>
</panel>
</div>
</center>
<east id="east_id" border="0" width="28%">
<div width="100%" height="100%" style="overflow:auto" align="center">
<grid align="center" width="98%" height="100%" style="border:1px solid lightgray; overflow:auto;">
<rows>
<row><label value="Batch ID:"></label><label id="batchidlbl"></label></row>
<row><label value="Channel:" width="40%"></label><label id="channellbl" width="60%"></label></row>
<row><label value="Dr. Account Type:" width="40%"></label><label id="dracnttypelbl" width="60%"></label></row>
<row><label value="Dr. Account Status:" width="40%"></label><label id="dracntstatslbl" width="60%"></label></row>
<row><label value="Dr. Finacle Full Ac No:" width="40%"></label><label id="drffacnolbl" width="60%"></label></row>
<row><label value="Dup Cheque Status:" width="40%"></label><a id="dupchkstatuslbl" width="60%"></a></row>
<row><label value="Dr. Memo Pad:" width="40%"></label><a id="drmemopadlink" width="60%"></a></row>
<row><label value="Cr. Memo Pad:" width="40%"></label><a id="crmemopadlink" width="60%"></a></row>
<row><label value="No. of Presentment: " width="40%"></label><a id="noofprentmentlink" width="60%"></a></row>
<row><label value="Positive Pay:"></label><label id="positivepaylbl"></label></row>
<row><label value="CAR / LAR:" width="40%"></label><label id="carlarstatuslbl" width="60%"></label></row>
<row><label value="UV Status:" width="40%"></label><label id="uvstatuslbl" width="60%"></label></row>
<row><label value="IBAN:" width="40%"></label><label id="ibanlbl" width="60%"></label></row>
<row><label value="Deposit Account ID:" width="40%"></label><label id="depositactidlbl" width="60%"></label></row>
<row><label value="Pending Count / Processed Count:" width="40%"></label><label id="pendcntlbl" ></label></row>
<row><label value="Checker ID:" width="40%"></label><label id="checker" width="60%"></label></row>
<row><label value="Send back Reason:" width="40%"></label><label id="sendreason" width="60%"></label></row>
<row><label value = " QR Status"></label><label id = "qrstatuslbl" ></label> </row>
</rows>
</grid>
</div>
</east>
<north border="0" height="0%"></north>
<south border="0" height="0%"></south>
</borderlayout>
</panelchildren>
</panel>
</center>
<south id="south_id" border = "0" height="54%" >
<borderlayout height="100%">
<north border="0" height="86%">
<borderlayout height="100%">
<north height="70%">
<div id ="micrdatediv" align ="left" width="100%" height="100%" style="overflow:auto" >
<grid id="data_grid1" width="100%">
<columns width="100%">
<column width="10%"></column>
<column width="10%"></column>
<column width="10%"></column>
<column width="25%"></column>
<column width="25%"></column>
<column width="25%"></column>
</columns>
<rows id="data_rows1">
<row>
<label value = "Cr. Account Number / Credit Card No"></label>
<label value = "Suspense Ac No"></label>
<label value = "Suspense Ac Name"></label>
<label value = "Cr. Account Status"></label>
<label value = " Payee Name / Cr. Card Name"></label>
<label value = "Cr. Account Type"></label>
</row>
<row>
<textbox id="creditac" width="100%" constraint="/^[0-9]*$/:Invalid Cr. Account Number or Credit Card No" maxlength="16" ></textbox>
<label id = "suspnceacntlbl" style="text-align:center"></label>
<label id = "suspnceacntnamelbl" style="text-align:center"></label>
<label id = "account_statuslbl" style="text-align:center"></label>
<label id = "account_namelbl" style="text-align:center"></label>
<label id = "account_typelbl" style="text-align:center"></label>
</row>
</rows>
</grid>
<grid width="100%" height="100%">
<rows>
<row><vbox><label value="Amount" width="100%"></label><textbox id="amounttb" width="100%"></textbox></vbox>
<vbox><label value="MICR Code" width="100%"></label>
<box orient="horizontal">
<textbox id="micrtb1" width="100%" maxlength="6">
</textbox><textbox id="micrtb2" width="100%" maxlength="9"></textbox>
<textbox id="micrtb3" width="100%" maxlength="10"></textbox>
</box>
</vbox>
<vbox><label value="Date" width="100%"></label><hbox> <datebox id="datebox" width="100%" /> <label id ="datelbl" width="100%"></label></hbox> </vbox>
<!-- <vbox ><label value="New Debit Account" width="100%"></label><Label id="debacnolbl" width="100%" style="text-align:center" ></Label>
</vbox> -->
<vbox >
<label value="New Debit Account" width="100%"> </label>
<label id="debacnolbl" width="100%"></label>
</vbox>
</row>
<row>
<vbox ><label value="QR Code Value" width="100%"></label><textbox id="qrcodetb" width="100%" constraint="/^[a-zA-Z0-9+\/]*$/:Invalid QR Code Value" style="text-align:center" maxlength="20" ></textbox>
</vbox>
<vbox><label value="Issuer Name" width="100%"></label><textbox id="issuertb" width="100%" style="text-align:center" constraint="/^[a-zA-Z0-9 ]*$/:Invalid Issuer Name" ></textbox></vbox>
<vbox ><label value="Narration 1" width="100%"></label><textbox id="narration1tb" width="125px" style="text-align:center" ></textbox></vbox>
<vbox ><label value="Narration 2" width="100%"></label><textbox id="narration2tb" width="100%" style="text-align:center" ></textbox></vbox>
<vbox ><label value="Narration 3" width="100%"></label><textbox id="narration3tb" width="100%" style="text-align:center" ></textbox></vbox>
</row>
</rows>
</grid>
</div>
</north>
<south id="south_details_id" height="30%">
<borderlayout height="100%">
<west width="21%">
<div width="100%" style="overflow:auto">
<listbox style="overflow-y:auto">
<listhead sclass="MyRowHeight">
<listheader width="100%" label="Account Operating Instructions" sort="auto" />
</listhead>
</listbox>
<textbox id="mdatatb" readonly="true" rows="12" multiline="true" width="100%" />
</div>
</west>
<east border="0" width="79%">
<borderlayout height="100%">
<east width="47%">
<div width="100%" height="100%" style="overflow:auto">
<panel width="100%" height="100%">
<panelchildren style="overflow:auto;background-color:#c0c0c0">
<image align="center" id="img1" height="100%" width="100%" style="border:1px solid #00008B"></image>
</panelchildren>
</panel>
</div>
</east>
<center>
<borderlayout>
<north border="none" height="13%">
<div height="100%" width="100%" align="center">
<vbox align="center" width="95%">
<image style="cursor:hand;" id="skipupimg" tooltiptext="Skip to previous 5 Signs" src="/images/skipup_dis.png"></image>
</vbox>
</div>
</north>
<center border="none">
<div height="100%" width="100%" align="center">
<vbox id="vboxsignbtn" align="center" width="95%" style="overflow-x: hidden; overflow-y: scroll;"></vbox>
</div>
</center>
<south border="none" height="13%">
<div height="100%" width="100%" align="center">
<vbox align="center" width="95%">
<image id="skipdownimg" style="cursor:hand;" tooltiptext="Skip to next 5 Signs" src="/images/skipdown_dis.png"></image>
</vbox>
</div>
</south>
</borderlayout>
</center>
<west width="45%">
<div width="100%" height="100%">
<listbox id="custsignlistbox" vflex="true">
<listhead sclass="MyRowHeight">
<listheader width="12%" label="Signature ID" style="text-align:center;" hflex="min" />
<listheader width="50%" label="Signature Name" style="text-align:center;" hflex="min" />
<listheader width="38%" label="Relation" style="text-align:center;" hflex="min" />
</listhead>
</listbox>
</div>
</west>
</borderlayout>
</east>
</borderlayout>
</south>
</borderlayout>
</north>
<south border="0" height="12%">
<div width="100%" height="100%">
<grid align="center">
<rows>
<row>
<cell width="100%" align="center">
<hbox pack="end" height="2%" width="92%" ></hbox>
<hbox pack="end" height="25%" width="92%" >
<label id ="accdellbl" style="color: red; font-weight:bold;font-size:15px;font-style:Trebuchet MS;"></label>
<space bar="false" spacing="250px"></space>
<button id="acceptbtn" label="Accept" mold = "trendy" width="100px" visible="true" class="btn btn-primary" />
<space bar="false" spacing="10px"></space>
<button id="deletebtn" label="Delete" class="btn btn-primary" mold = "trendy" width="60px" />
<space bar="false" spacing="10px"></space>
<button id="skipbtn1" label="Skip" mold = "trendy" width="100px" visible="true" class="btn btn-primary" />
<space bar="false" spacing="10px"></space>
<button id="returnbtn" label="Return" mold = "trendy" width="100px" visible="true" class="btn btn-primary" />
<space bar="false" spacing="10px"></space>
<combobox id="skipdeletersncb" width="100%" readonly="true"></combobox>
</hbox>
</cell>
</row>
</rows>
</grid>
</div>
</south>
</borderlayout>
</south>
</borderlayout>
</center>
<south border = "0" height="0%"></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");
}
}