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
4guest162.158.198.1782qoanquApr 17, 2020 7:19:45 AMlinkresources
index.zulzul<?xml version="1.0"?>
<?page id="pl2verificationqueue2" ?>
<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="wl2verificationqueue2" width="100%" height="100%" contentStyle="overflow:auto">
<borderlayout height="100%" style="overflow:auto">
<north id="mainnorth" height="100%" visible="true">
<borderlayout height="100%">
<north border="0" height="55%">
<borderlayout height="100%">
<west border="0" width="3%" autoscroll="true">
<vbox align="center" height="100%" width="10%" 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 ="uv" src="/images/image_uv.png" style="cursor:hand;" tooltiptext="Ultraviolet (ctrl+u)"></image>
<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="50%"/>
<column width="50%"/>
<!-- <column width="20%"/>
<column width="25%"/> -->
</columns>
<rows>
<row width="100%" >
<label value="ICR Date" sclass="L2RowBlue"/>
<textbox id="icrDatetb" width = "90%" sclass="L2RowBlack"/>
<!-- <cell colspan="2" align="center">
</cell> -->
</row>
<row>
<label value="Payee Name"></label>
<textbox id="payeenametb" width = "90%" maxlength="25" constraint="/^[a-zA-Z0-9]([ ]?[a-zA-Z0-9])*$/" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"></textbox>
</row>
<row width="100%" >
<label value="Date" sclass="L2RowBlue"/>
<textbox id="Datetb" width = "90%" sclass="L2RowBlack"/>
<!-- <cell colspan="2" align="center">
</cell> -->
</row>
<row>
<label value="Presenting Bank"></label>
<textbox id="presbanktb" width = "90%" maxlength="25" constraint="/^[a-zA-Z0-9]([ ]?[a-zA-Z0-9])*$/" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"></textbox>
</row>
<row>
<label value="MICR Reject(NPCI)"></label>
<textbox id="micrrejectnpitb" width = "90%" maxlength="25" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"></textbox>
</row>
<row >
<label value="MICR Repair Flag" ></label>
<label id="micrrepairflsglbl" width = "90%" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</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="Listed Amount" sclass="L2RowBlue"/>
<cell colspan="3">
<label id="listedamountlbl" style="font-weight:bold;font-size:20px;color:red;"/>
</cell>
</row>
<row >
<label value="System Alert" ></label>
<label id="systemalertlbl" width = "90%" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
<row >
<label value="Account Opening Date" ></label>
<textbox id="accountopeningdatetb" width = "90%" style="color:red;text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" />
</row>
<row width="100%">
<label value="Account Name" sclass="L2RowBlue"/>
<textbox id="accnametb" width = "90%" sclass="L2RowBlack"/>
</row>
<row>
<label value="Branch Number"></label>
<textbox id="branchnotb" maxlength="50" width = "90%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"></textbox>
</row>
<row>
<label value="Return Reason"></label>
<combobox id = "retresncb" width = "90%" readonly="true" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"/>
</row>
<row>
<label value="Remarks"></label>
<textbox id="remarkstb" maxlength="50" width = "90%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;"></textbox>
</row>
<!-- <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 xmlns:w="client" id="draweeAcNotb" width="100%" maxlength="16" sclass="L2RowBlack">
<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="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="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> -->
</rows>
</grid>
</east>
<south border="0" height="0%"/>
</borderlayout>
</north>
<south id="south" height="40%">
<borderlayout height="100%">
<north border="0" height="30%">
<grid id="datagrid" height="100%">
<columns>
<column width="14%" align="center"/>
<column width="14%" align="center"/>
<column width="14%" align="center"/>
<column width="14%" align="center"/>
<column width="14%" align="center"/>
<column width="14%" align="center"/>
<column width="14%" align="center"/>
<column width="14%" align="center"/>
<!-- <column width="14.28%" align="center" visible="false"/>
<column width="14.28%" align="center"/>
<column width="10%" align="center"/> -->
</columns>
<rows>
<row width="100%" height="10%">
<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="Dup Flag" sclass="L2RowBlue"/>
<label value="Account Number" sclass="L2RowBlue"/>
<label value="Account Product" sclass="L2RowBlue"/>
<label value="CBS Account Name" 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="10%">
<textbox id="chequenotb" width="70%" sclass="L2RowBlackBold"/>
<textbox id="payeesortcodetb" width="70%" sclass="L2RowBlackBold"/>
<textbox id="basenotb" width="70%" sclass="L2RowBlackBold"/>
<textbox id="tctb" width="70%" sclass="L2RowBlackBold"/>
<textbox id="dupflagtb" width="70%" sclass="L2RowBlackBold"/>
<textbox id="accountnotb" width="70%" sclass="L2RowBlackBold"/>
<textbox id="accountproducttb" width="70%" sclass="L2RowBlackBold" />
<combobox id="cbsaccnamecb" width="70%" 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="10%" border="0">
<!-- <label value="Mode of Operation / Remarks :" sclass="L2RowBlue"/>
-->
<cell colspan="3">
<label value="Mode of Operation / Remarks :"></label>
<label id="mop_remarks" sclass="L2RowBlack"/>
</cell>
<!-- <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="20%" border="0">
<listbox id="signatorylistbox" width="60%" height="100%" style="overflow-y:auto">
</listbox>
</west>
<east width="75%" border="0">
<image id="signImg"/>
</east>
<center autoscroll="true" >
<vbox id="vboxsignbtn" 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>
</center>
<south border="0"/>
<!-- <north border="0"/>
<west width="30%" border="0">
<listbox id="signatorylistbox" width="60%" height="100%" style="overflow-y:auto">
</listbox>
</west>
<east width="10px" border="0">
<image id="signImg"/>
</east>
<center autoscroll="true">
<vbox id="vboxsignbtn" 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>
</center>
<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="Sign ID" sort="auto" align="center"/>
<listheader width="57%" label="Signatory Name" sort="auto" align="center"/>
<listheader width="23%" label="Relation" sort="auto" align="center"/>
</listhead>
</listbox>
</center>
</borderlayout>
</east>
<south border="0" height="10%">
<hbox pack="center" align="center" width="100%" height="100%">
<label id="instid" visible="false"/>
<button id="passbtn" label="Accept" mold="trendy"/>
<button id="returnbtn" label="Return" mold="trendy"/>
<button id="vernacularbtn" label="Vernacular" mold="trendy"/>
<button id="lastverbtn" label="Last Verified" width="100%" mold="trendy"/>
<button id="resetbtn" label="Reset" mold="trendy"/>
</hbox>
</south>
</borderlayout>
</east>
<south border="0" height="0%"/>
</borderlayout>
</center>
<south border="0" height="0%"/>
</borderlayout>
</south>
</borderlayout>
</north>
</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");
}
}