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
37guest110.227.128.51339b6ncOct 5, 2016 5:25:39 AMlinkresources
index.zulzul<?page id="nurole" title="Mandate Data Verify" contentType="text/html;charset=UTF-8"?>
<zk>
<window id="wmmsmanverification" apply="" sclass="expstyle1" width="100%" height="100%" contentStyle="overflow:auto;position:relative">
<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: #728C00;
}
.expstyle1 .z-window-modal-header
{
background: #728C00;
}
.expstyle1 .z-textbox
{
text-transform:uppercase;
}
</style>
<borderlayout height="100%" style="overflow:auto">
<north height = "96%" border = "0">
<tabbox id="tb" orient="horizontal" width ="100%" height="100%">
<tabs id="tabs" width="125px">
<tab id="dataentrytab" label="Data Verify"/>
<tab id="signaturetab" label="Signature Viewing" visible = "false"/>
</tabs>
<tabpanels>
<tabpanel style="overflow:auto;">
<borderlayout height="100%" style="overflow:auto">
<north id="north" title="Batch Details" maxsize="300" size="95%" splittable="true" collapsible="true">
<div width="100%" height="100%" align="center">
<div id = "filterdiv" height = "null" width="80%" align="center" visible="false">
<grid id="gridmain" width = "50%" align="center" height = "100%">
<columns>
<column width="40%"></column>
<column width="60%"></column>
</columns>
<rows>
<row><label value ="Scan Date:"></label><combobox id ="scandatecb" readonly="true"></combobox></row>
<row><label value ="Mandate Type:"></label><combobox id="mntypecb" readonly = "true"></combobox></row>
<row><label value ="Action Type"></label><combobox id ="actiontypecb" readonly="true"></combobox></row>
<row><label value ="Flow Type:"></label><combobox id="flowtypecb" readonly = "true"></combobox></row>
<row><label value ="Corporate Selection:"></label><combobox id ="corpselcb" readonly="true"></combobox></row>
</rows>
</grid>
<hbox pack="end" height="2%" width="50%" ></hbox>
<hbox pack="end" height="25%" width="50%" >
<button id="fetch" label="Fetch" mold = "trendy" width="60px" />
</hbox>
</div>
<div id="searchdiv" align ="center" width ="98%" height="null" visible="false">
<listbox id = "data_grid" height="null" width="80%" mold="paging" pageSize="10">
<listhead sizable="false">
<listheader align = "center" width="15%" label="Scan Date" />
<listheader align = "center" width="15%" label="Batch Number" />
<listheader align = "center" width="12.5%" label="Batch Count" />
<listheader align = "center" width="12.5%" 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>
<hbox pack="end" height="2%" width="80%" ></hbox>
<hbox pack="end" height="25%" width="80%" >
<label id ="msg" style="color: red; font-weight:bold;font-size:15px;font-style:Trebuchet MS;"></label>
<button id="backtofilterbtn" label="Back" mold = "trendy" width="60px" />
<button id="refreshbtn" label="Refresh" mold = "trendy" width="60px" visible="false"/>
<button id="releasesessionbtn" label="Release Locked" mold = "trendy"/>
</hbox>
</div>
<div id="datadiv1" align="left" height="100%" width="100%" visible="true" >
<grid id = "datagrid1" width="100%">
<columns>
<column width="40%"/>
<column width="60%"/>
</columns>
<rows>
<row visible="true" ><label></label><label id="mandateid1" width = "80%"></label></row>
<row><label id = "utilitycodelb1" value="Utility Code:"/><textbox id="utilitycodetb1" readonly = "true" width = "80%" /><label id = "freequencylb1" value="Frequency:"/><textbox id="freequencytb1" readonly = "true" width = "80%" /></row>
<row><label id = "cnamelb1" value="Creditor Name:"/><textbox id="cnametb1" readonly = "true" width = "80%" /></row>
<row><label id = "categorycodelb1" value="Category Code:"/><textbox id="categorycodetb1" readonly = "true" width = "80%" /></row>
<row><label id = "actypelb1" value="A/C Type:"/><textbox id="actypetb1" readonly = "true" width = "80%" /></row>
<row><label id = "dbaccnolb1" value="Debitor Ac No:"/><textbox id="dbaccnotb1" readonly = "true" width = "80%" /></row>
<row><label id = "dbifsclb1" value="Debitor IFSC/MICR:"/><textbox id="dbifsctb1" readonly = "true" width = "80%" /></row>
<row><label id = "dbbankcodelb1" value="Debitor Bank Code:"/><textbox id="dbbankcodetb1" readonly = "true" width = "80%" /></row>
<row><label id = "dbbanknamelb1" value="Debitor Bank Name:"/><textbox id="dbbanknametb1" readonly = "true" width = "80%" /></row>
<row><label id = "dbdebittypelb1" value="Debit Type: " /><textbox id = "dbdebittypetb1" readonly = "true" width = "80%"/></row>
<row><label id = "amountlb1" value="Amount:"/><textbox id="amounttb1" readonly = "true" width = "80%" /></row>
<row><label id = "crefnolb1" value="Consumer Ref No:"/><textbox id="crefnotb1" readonly = "true" width = "80%" /></row>
<row><label id = "prefnolb1" value="Plan Ref No:"/><textbox id="prefnotb1" readonly = "true" width = "80%" /></row>
<row><label id = "startlb1" value="Start Date:"/><textbox id="starttb1" readonly = "true" width = "80%" /></row>
<row><label id = "cntilcancellb1" value="Until Cancel:"/><textbox id="cntilcanceltb1" readonly = "true" width = "80%" /></row>
<row><label id = "endlb1" value="End Date:"/><textbox id="endtb1" readonly = "true" width = "80%" /></row>
<row><label id = "dbnamelb1" value="Debitor Name:"/><textbox id="dbnametb1" readonly = "true" width = "80%" /></row>
<row><label id = "destphonelb1" value="Debitor Phn No:"/><textbox id="destphonetb1" readonly = "true" width = "80%" /></row>
<row><label id = "destmobilelb1" value="Debitor Mob No:"/><textbox id="destmobiletb1" readonly = "true" width = "80%" /></row>
<row><label id = "destemaillb1" value="Debitor Email:"/><textbox id="destemailtb1" readonly = "true" width = "80%" /></row>
<row><label id = "dbidlb1" value="Add. Details:"/><textbox id="dbidtb1" readonly = "true" width = "80%" /></row>
<row><label id = "copylb1" value="Duplicate:"/><textbox id="copytb1" readonly = "true" width = "80%" /></row>
<row><label value="Maker:"/><label id="makerlb1" width = "80%" /></row>
</rows>
</grid>
</div>
<div id="searchdivfile" align ="center" visible="false">
<listbox id = "data_grid_file" height="null" width="80%" mold="paging" pageSize="8">
<listhead sizable="false">
<listheader align = "center" width="5%" label="" />
<listheader align = "center" width="40.5%" label="File Name" />
<listheader align = "center" width="12.5%" label="Total Count" />
<listheader align = "center" width="12.5%" label="Accepted Count" />
<listheader align = "center" width="12.5%" label="Rejected Count" />
<listheader align = "center" width="17%" label="Mandate Type" />
</listhead>
</listbox>
<hbox pack="end" height="2%" width="80%" ></hbox>
<hbox pack="end" height="25%" width="80%" >
<label id ="msg1" style="color: red; font-weight:bold;font-size:15px;font-style:Trebuchet MS;"></label>
<button id="backtofilterbtn1" label="Back" mold = "trendy" width="60px" />
<button id="refreshbtn1" label="Refresh" mold = "trendy" width="60px" visible="false"/>
<button id="selectfilebtn" label="Verify" mold = "trendy"/>
</hbox>
</div>
<div id="listfilediv" align ="center" width ="98%" height="null" visible="false" style="overflow:auto">
<listbox id = "data_grid_file_list" height="null" width="80%" mold="paging" pageSize="8">
<listhead sizable="false">
<listheader align = "center" width="20%" label="UMRN" />
<listheader align = "center" width="40%" label="Creditor Name" />
<listheader align = "center" width="20%" label="Utility Code" />
<listheader align = "center" width="20%" label="Amount" />
</listhead>
</listbox>
<hbox pack="end" height="10%" width="80%" >
<label id ="msg2" style="color: red; font-weight:bold;font-size:15px;font-style:Trebuchet MS;"></label>
<button id="backtofilterbtn2" label="Back" mold = "trendy" width="60px" />
<button id="refreshbtn2" label="Refresh" mold = "trendy" width="60px" visible="false"/>
</hbox>
</div>
</div>
</north>
<center border="0">
<panel id="mdatapanel" width="100%" height="100%" visible = "false">
<panelchildren>
<borderlayout>
<west width="66.5%" style="overflow:auto">
<panel id="imagepanel" title="Image" width="100%" height="100%">
<panelchildren style="overflow:auto">
<borderlayout height="100%">
<north border = "0" height="0%"></north>
<west width="5%" >
<div align ="center" width="100%" height="100%">
<vbox align="right">
<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 = "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 Batch (F12)"></image>
<toolbarbutton id = "statustf"></toolbarbutton>
</vbox>
</div>
</west>
<center>
<borderlayout height="100%">
<center border = "0" >
<panel width="100%" height="100%">
<panelchildren style="overflow:auto">
<image id="chq_img" width="100%" height="95%"></image>
</panelchildren>
</panel>
</center>
</borderlayout>
</center>
</borderlayout>
</panelchildren>
</panel>
</west>
<center>
<div id="datadiv" align="left" height="100%" width="96%">
<grid id = "datagrid" height="100%" width="100%">
<columns>
<column width="40%"/>
<column width="60%"/>
</columns>
<rows>
<row visible="true" ><label></label><label id="mandateid" width = "80%"></label></row>
<row><label id = "utilitycodelb" value="Utility Code:"/><textbox id="utilitycodetb" readonly = "true" width = "80%" /></row>
<row><label id = "cnamelb" value="Creditor Name:"/><textbox id="cnametb" readonly = "true" width = "80%" /></row>
<row><label id = "categorycodelb" value="Category Code:"/><textbox id="categorycodetb" readonly = "true" width = "80%" /></row>
<row><label id = "actypelb" value="A/C Type:"/><textbox id="actypetb" readonly = "true" width = "80%" /></row>
<row><label id = "dbaccnolb" value="Debitor Ac No:"/><textbox id="dbaccnotb" readonly = "true" width = "80%" /></row>
<row><label id = "dbifsclb" value="Debitor IFSC/MICR:"/><textbox id="dbifsctb" readonly = "true" width = "80%" /></row>
<row><label id = "dbbankcodelb" value="Debitor Bank Code:"/><textbox id="dbbankcodetb" readonly = "true" width = "80%" /></row>
<row><label id = "dbbanknamelb" value="Debitor Bank Name:"/><textbox id="dbbanknametb" readonly = "true" width = "80%" /></row>
<row><label id = "dbdebittypelb" value="Debit Type: " /><textbox id = "dbdebittypetb" readonly = "true" width = "80%"/></row>
<row><label id = "amountlb" value="Amount:"/><textbox id="amounttb" readonly = "true" width = "80%" /></row>
<row><label id = "crefnolb" value="Consumer Ref No:"/><textbox id="crefnotb" readonly = "true" width = "80%" /></row>
<row><label id = "prefnolb" value="Plan Ref No:"/><textbox id="prefnotb" readonly = "true" width = "80%" /></row>
<row><label id = "freequencylb" value="Frequency:"/><textbox id="freequencytb" readonly = "true" width = "80%" /></row>
<row><label id = "startlb" value="Start Date:"/><textbox id="starttb" readonly = "true" width = "80%" /></row>
<row><label id = "cntilcancellb" value="Until Cancel:"/><textbox id="cntilcanceltb" readonly = "true" width = "80%" /></row>
<row><label id = "endlb" value="End Date:"/><textbox id="endtb" readonly = "true" width = "80%" /></row>
<row><label id = "dbnamelb" value="Debitor Name:"/><textbox id="dbnametb" readonly = "true" width = "80%" /></row>
<row><label id = "destphonelb" value="Debitor Phn No:"/><textbox id="destphonetb" readonly = "true" width = "80%" /></row>
<row><label id = "destmobilelb" value="Debitor Mob No:"/><textbox id="destmobiletb" readonly = "true" width = "80%" /></row>
<row><label id = "destemaillb" value="Debitor Email:"/><textbox id="destemailtb" readonly = "true" width = "80%" /></row>
<row><label id = "dbidlb" value="Add. Details:"/><textbox id="dbidtb" readonly = "true" width = "80%" /></row>
<row><label id = "copylb" value="Duplicate:"/><textbox id="copytb" readonly = "true" width = "80%" /></row>
<row><label value="Maker:"/><label id="makerlb" width = "80%" /></row>
</rows>
</grid>
</div>
</center>
</borderlayout>
</panelchildren>
</panel>
</center>
</borderlayout>
</tabpanel>
<tabpanel id = "signaturetabpanel" style="overflow:auto;"></tabpanel>
</tabpanels>
</tabbox>
</north>
<south height = "4%" border = "0">
<div id="savediv" align="right" height="100%" width="98%" visible ="false" >
<div>
<label id="v_r" value="Enter Remarks:" visible ="false"/>
<textbox id="v_remark" width="30%" visible="false"></textbox>
<button id = "accept" label="Accept" width="60px" mold ="trendy"/>
<button id = "discard" label="Reject" width="60px" mold ="trendy"/>
<button id = "sendback" label="Send Back" width="80px" mold ="trendy"/>
</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");
}
}