Processing...

Suggested case list:

Using timer to refresh a grid

383guest172.69.33.12125nk0uiMay 7, 2020 7:23:47 AMlink

user model to move item to another listbox

120guest162.158.193.148d0n3krApr 2, 2020 5:28:28 AMlink

Disabled list item row passed to VM-1981

296fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:44 PMlink

Disabled list item row passed to VM-1981

295fatih123160.83.36.13025nk0uiFeb 13, 2018 4:25:16 PMlink

Disabled list item row passed to VM-1981

294fatih123160.83.36.13225nk0uiFeb 13, 2018 3:30:44 PMlink

grid sample with ListModel/RowRenderer

816guest80.82.2.1312vah9ajFeb 21, 2017 11:42:21 AMlink

grid sample with ListModel/RowRenderer

809guest175.98.113.1622vah9ajJan 26, 2017 9:19:33 AMlink

grid sample with ListModel/RowRenderer

196guest79.185.142.402vah9ajApr 26, 2014 10:53:57 PMlink

grid sample with ListModel/RowRenderer

195guest79.185.142.402vah9ajApr 26, 2014 10:53:54 PMlink

grid sample with ListModel/RowRenderer

194guest79.185.142.402vah9ajApr 26, 2014 10:53:51 PMlink

grid sample with ListModel/RowRenderer

193guest79.185.142.402vah9ajApr 26, 2014 10:53:48 PMlink

grid sample with ListModel/RowRenderer

192guest79.185.142.402vah9ajApr 26, 2014 10:53:44 PMlink

grid sample with ListModel/RowRenderer

191guest79.185.142.402vah9ajApr 26, 2014 10:53:40 PMlink

Hierarchy table without using ZK PE/EE

1aaknai151.28.135.2131s871daJul 29, 2013 11:02:46 PMlink

grid sample with ListModel/RowRenderer

128aaknai151.28.135.2132vah9ajJul 29, 2013 7:20:00 PMlink

user model to move item to another listbox

1TonyQ114.25.109.94d0n3krApr 21, 2012 10:43:27 AMlink

Using timer to refresh a grid

1TonyQ220.133.44.3725nk0uiFeb 17, 2012 3:17:34 AMlink

Fire a event from child iframe

1TonyQ220.133.44.372eupjotFeb 3, 2012 5:04:52 AMlink

Textbox input restriction sample

1TonyQ72.21.245.2431b3nlr0Dec 20, 2011 10:09:10 AMlink

Test web core taglib in ZUL

1TonyQ198.203.175.175ofqkemDec 17, 2011 3:36:08 AMlink

Latest 10 Fiddles :

constraint binding textbox

3guest172.68.151.16220peldaDec 5, 2025 5:08:19 PMlink

Another new ZK fiddle

2guest172.68.151.16320peldaDec 5, 2025 5:07:51 PMlink

Another new ZK fiddle

1guest172.68.151.16220peldaDec 5, 2025 5:07:32 PMlink

Another new ZK fiddle

1peggypeng172.71.154.99364f4neDec 5, 2025 9:24:31 AMlink

tooltip example

2guest104.22.23.13rc1ntoDec 4, 2025 2:23:45 PMlink

Another new ZK fiddle

1guest172.69.134.2277t7602Dec 4, 2025 1:40:46 PMlink

Another new ZK fiddle

1peggypeng104.22.17.1802df6e3oDec 4, 2025 8:41:29 AMlink

onClose

1peggypeng172.68.87.248j8kd8aDec 3, 2025 4:10:26 AMlink

Another new ZK fiddle

1peggypeng172.69.134.2271rm7f4eNov 26, 2025 3:31:24 AMlink

ZK-5912-Suggestion

2rebeccalai104.22.20.1442qrmiiuNov 26, 2025 2:07:15 AMlink

Another new ZK fiddle

4guest115.254.63.5031vdqp3Jun 17, 2017 10:28:16 AMlink

resources

index.zulzul<?page id="pwslip_cheque_data_entry" title="Slip Cheque Data Entry" contentType="text/html;charset=UTF-8"?> <zk> <window id="wslip_cheque_data_entry" border="normal" apply="pkg$.TestComposer" 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:uppercase; } </style> <script type="text/javascript" src="jquery.autotab.js"></script> <script type="text/javascript"> <![CDATA[ $.autotab({ tabOnSelect: true }); $('.number').autotab('filter', 'number'); ]]></script> <borderlayout height="100%" style="overflow:auto"> <west width="55%"> <borderlayout height="100%" width="100%"> <north id="north" height="16%"> <div width="100%" height="100%" align="center"> <div height="10px"></div> <grid align ="center" width="98%" height="null"> <columns width="100%"> <column width="28%" align="center"></column> <column width="30%" align="center"></column> <column width="27%" align="center"></column> <column width="15%" align="center"></column> </columns> <rows> <row width="100%"><div align="center"><label value ="Receipt Type"></label></div><div align="center"><label value ="Transaction Type "></label></div><div align="center"><label value ="Clearing Type "></label></div><label></label></row> <row width="100%"><div align="center"><combobox id ="receiptypecb" readonly="true"></combobox></div><div align="center"><combobox id ="transtypecb" readonly="true"></combobox></div><div align="center"><combobox id ="clearingtypecb" readonly="true"></combobox></div><div align="center"><button id ="submitbtn" label="Submit" ></button></div></row> </rows> </grid> </div> </north> <west width="0" border="0"></west> <east width="0" border="0"></east> <center border="0"></center> <south height="85%"> <borderlayout id="borderlayout1" height="100%" visible="true"> <north border="0" height="15%"> <div id ="micrdatediv1" align ="center" width="100%" height="100%"> <div height="10px"></div> <grid id="data_grid" align ="center" width="98%" height="null"> <columns width="100%"> <column width="14%"></column> <column width="28%"></column> <column width="14%"></column> <column width="13%"></column> <column width="15%"></column> <column width="16%"></column> </columns> <rows id="data_rows"> <row align="center"><label value = "Batch Amount" ></label><label id ="batchamtlbl" style = "color:black;text-align:center;font-size:17px;"></label><label value="Slip Count" ></label><label id ="slipcntlbl" style = "color:black;text-align:center;font-size:17px;"></label><label value = "Cheque Count"></label><label id ="chequecntlbl" style = "color:black;text-align:center;font-size:17px;"></label></row> </rows> </grid> </div> </north> <west width="0" border="0"></west> <east width="0" border="0"></east> <center border="0"> <borderlayout height="100%" visible="true"> <north border = "0" id = "north_slip"> <grid id="retail_ip_grid" align ="center" width="98%" height="null"> <columns width="100%"> <column width="20%"></column> <column width="27%"></column> <column width="23%"></column> <column width="33%"></column> </columns> <rows id="data_rows0"> <row width="100%"> <label value = "Account Number"></label> <cell colspan="3"><textbox id="accountno1tb" maxlength = "4" width="15%" readonly="false" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" xmlns:w="client"> <attribute w:name="onKeyUp"> <![CDATA[ if(this.getInputNode().value.length > 4 ) { $(this).next(':input').focus(); } ]]> </attribute></textbox> <textbox id="accountno2tb" maxlength = "3" width="15%" readonly="false" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" xmlns:w="client"> <attribute w:name="onKeyUp"> <![CDATA[ if(this.getInputNode().value.length > 4 ) { $(this).next(':input').focus(); } ]]> </attribute></textbox> <textbox id="accountno3tb" maxlength = "8" width="25%" readonly="false" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" xmlns:w="client"> <attribute w:name="onKeyUp"> <![CDATA[ if(this.getInputNode().value.length > 4 ) { $(this).next(':input').focus(); } ]]> </attribute></textbox> </cell> </row> <row width="100%"> <label value = "Account Type"></label> <cell colspan="1"><textbox id="accounttypetb" maxlength = "15" width="95%" readonly="true" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" ></textbox></cell> <label value = "Account Status"></label> <cell colspan="1"><textbox id="accountstatustb" maxlength = "15" readonly="true" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" ></textbox></cell> </row> <row width="100%"> <label value = "Account Name A"></label> <cell colspan="3" align="left" style="margin:left"><radio id="radio1"></radio><textbox id="accountnameAtb" maxlength="100" width="80%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;font-color:red" readonly="true"></textbox> </cell> </row> <row width="100%"> <label value = "Account Name B"></label> <cell colspan="3" align="left" style="margin:left"><radio id="radio2"></radio><textbox id="accountnameBtb" maxlength="100" width="80%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;font-color:red" readonly="true"></textbox> </cell> </row> <row width="100%"> <label value = "Account Name C"></label> <cell colspan="3" align="left" style="margin:left"><radio id="radio3"></radio><textbox id="accountnameCtb" maxlength="100" width="80%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;font-color:red" readonly="true"></textbox> </cell> </row> </rows> </grid> </north> <west border = "0" id= "west_slip"> <grid id="cms_grid" align ="center" width="98%" height="null" visible="false"> <columns width="100%"> <column width="20%"></column> <column width="27%"></column> <column width="23%"></column> <column width="33%"></column> </columns> <rows > <row width="100%" height="100%"> <label value = "Client Code"></label> <cell colspan="3"><textbox id="clientcodetb" maxlength = "10" width="50%" readonly="false" constraint="/^[a-zA-Z0-9]{10}/" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" xmlns:w="client"><attribute w:name="doKeyDown_"> function (evt) { var keyCode = event.keyCode; if(keyCode == 45 ){ evt.stop(); return; } else { this.$doKeyDown_(evt); } } </attribute><attribute w:name="doKeyPress_">function(evt1) { if (!this._shallIgnore(evt1, 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ')) this.$doKeyPress_(evt1); }</attribute></textbox></cell> </row> <row width="100%" height="100%"> <label value = "Client Name"></label> <cell colspan="3"><textbox id="clientnametb" maxlength = "50" width="50%" readonly="true" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" ></textbox></cell> </row> <row width="100%" height="100%"> <label value = "Account Number"></label> <cell colspan="3"><textbox id="cmsaccountnotb" maxlength = "15" width="50%" readonly="true" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" ></textbox></cell> </row> </rows> </grid> </west> <south border="0" id ="south_slip"> <grid id="gl_grid" align ="center" width="98%" height="null" visible="false"> <columns width="100%"> <column width="20%"></column> <column width="27%"></column> <column width="23%"></column> <column width="33%"></column> </columns> <rows > <row width="100%"> <label value = "Account Number"></label> <cell colspan="3"><textbox id="accountnoGLtb" maxlength = "9" width="50%" readonly="false" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;" xmlns:w="client"><attribute w:name="doKeyPress_">function(evt) { if (!this._shallIgnore(evt, '0123456789')) this.$doKeyPress_(evt); }</attribute></textbox></cell> </row> <row width="100%"> <label value = "Account Name"></label> <cell colspan="3" align="left" style="margin:left"><textbox id="accountnameGLtb" maxlength="100" width="80%" style="text-align:left;font-style: oblique;font-weight:bold;font-size:15px;font-color:red" readonly="true"></textbox> </cell> </row> </rows> </grid> </south> </borderlayout> </center> <south height="33%" border="0"> <borderlayout height="100%" > <north border="0" height="50%"> <borderlayout height="100%" > <north height="0" border="0"></north> <west width="0" border="0"></west> <east width="0" border="0"></east> <center border="0"></center> <south height="100%" border="0"> <div id ="micrdatediv" align ="center" width="100%" height="20%"> <grid id="data_grid1" align ="center" width="90%" height="null"> <columns width="100%"> <column width="50%"></column> <column width="50%"></column> </columns> <rows id="data_rows1"> <row id ="pdrow" width="100%" align="center"> <textbox id="chqamounttb" width="75%" style="text-align:right;font-weight:bold;font-size:15px;font-family:Rupee Foradian Standard;" xmlns:w="client"><attribute w:name="doKeyPress_">function(evt) { if (!this._shallIgnore(evt, '0123456789')) this.$doKeyPress_(evt); }</attribute></textbox> <textbox id="chqnumbertb" maxlength = "6" width="35%" style="text-align:center;font-style: oblique;font-weight:bold;font-size:15px;" xmlns:w="client"><attribute w:name="doKeyPress_">function(evt) { if (!this._shallIgnore(evt, '0123456789')) this.$doKeyPress_(evt); }</attribute></textbox> </row> <row id ="micrbankheader" width="100%" align="center"><label value="Cheque Amount" style="color: black; font-weight:bold;font-size:12px;font-style:Trebuchet MS;"></label><label value="Cheque Number" style="color: black; font-weight:bold;font-size:12px;font-style:Trebuchet MS;"></label></row> </rows> </grid> </div> </south> </borderlayout> </north> <south height="40%"> <div align ="right" width="100%" height="90%"> <button id ="clearslipbtn" label ="Clear Slip" width="100px"></button> <space bar="false" spacing="5px"></space> <button id ="closeslipbtn" label ="Close Slip" width="100px"></button> <space bar="false" spacing="2px"></space> </div> </south> <west width="0" border="0"></west> <east width="0" border="0"></east> <center border="0"></center> </borderlayout> </south> </borderlayout> </south> </borderlayout> </west> <east width="45%" border="0"> <borderlayout id="borderlayout2" height="100%" width="100%" visible="false"> <north height="0" border="0"></north> <west width="100%" border="0"> <div id ="micrviewdiv" align ="center" width="100%" height="100%"> <grid id="data_grid_view" align ="center" width="98%" height="98%"> <columns width="100%"> <column width="25%" align="center" label="Account Number"></column> <column width="30%" align="center" label="Account Name"></column> <column width="20%" align="center" label="Total Cheque"></column> <column width="25%" align="center" label="Total Amount"></column> </columns> <rows id="data_rows_view"></rows> </grid> </div> </west> <east width="0" border="0"></east> <south height="10%" border="0"> <div id ="editmicrdatediv" align ="center" width="100%" height="100%"> <grid id="editdata_grid1" align ="center" width="98%" height="95%"> <rows id="editdata_rows1"> <row id ="editpdrow" width="100%" align="right"> <button id ="createbatchbtn" label ="Create Batch" width="130px"></button> </row> </rows> </grid> </div> </south> <center border="0"></center> </borderlayout> </east> </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{ }