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 :

frozen scroll

1guest172.69.33.373j82a06Mar 28, 2024 8:03:44 AMlink

Gmarker and forEach

1guest172.68.67.1362lpvk1hMar 28, 2024 7:29:50 AMlink

Gmaps

1guest172.68.67.1363dvghg5Mar 28, 2024 7:28:20 AMlink

grid demo

5guest172.71.158.2371grhhu3Mar 27, 2024 7:46:36 AMlink

grid demo

4guest172.71.158.2371grhhu3Mar 27, 2024 7:46:25 AMlink

grid demo

3guest172.71.154.181grhhu3Mar 27, 2024 7:44:16 AMlink

grid demo

2guest172.71.154.181grhhu3Mar 27, 2024 7:43:58 AMlink

grid demo

1guest172.71.154.191grhhu3Mar 27, 2024 7:42:54 AMlink

Scrollable Panel

13guest172.69.223.193ctlblaMar 27, 2024 5:31:21 AMlink

Scrollable Panel

12guest172.69.223.194ctlblaMar 27, 2024 5:30:56 AMlink

Another new ZK fiddle

56guest116.68.96.203lp967jMay 16, 2019 12:24:15 PMlink

resources

index.zulzul<?page id="OnUS OPC Technical Verification I" title="OnUS OPC Technical Verification I" contentType="text/html;charset=UTF-8"?> <zk> <window id="w_onus_opc_technical_verification_1" apply="com.imageinfo.eclear.v2.webapp.ajax.controller.onus_opc_technical_verification_1" 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> <script type="text/javascript"> document.body.addEventListener("dragstart", function(e) { if (e.target.className.indexOf("nodrag") > -1) { e.preventDefault(); return false; } }, false); document.body.addEventListener("dragover", function(e) { if (e.target.className.indexOf("nodrop") > -1) { e.preventDefault(); e.dataTransfer.effectAllowed = "none"; e.dataTransfer.dropEffect = "none"; return false; } }, false); </script> <borderlayout height="100%" > <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="searchdiv" width="50%" height="70%" style="border: 1px solid lightgray"> <grid id="batch_grid" width="null" height="100%" oddRowSclass="none"> <columns> <column width="15%"></column> <column width="30%" ></column> <column width="55%"></column> </columns> <rows> <row align="left" width="100%" ><label></label> <label id ="msglbl1" 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="10" constraint="/^(?!0000000000)[0-9,_]*$/: Please enter valid Batch number"></textbox></row> <row align="left" width="100%"><label></label><label value="Cheque Number"></label><textbox id="chenumtb" width="80%" maxlength="6" constraint="/^(?!000000)[0-9]*$/: Please enter valid Cheque number"></textbox>></row> <row align="left" width="100%"><label></label><label value="Amount"></label><textbox id="amttb" width="80%" ></textbox></row> <row align="left" width="100%"><label></label><label value="Credit Account Number"></label><textbox id="creditacnotb" constraint="/^(?!0000000000000000)[0-9]*$/: Please enter valid Credit Account number" width="80%" maxlength="16"></textbox></row> <row align="left" width="100%"><label></label><label value="Drawee Bank Code"></label><textbox id="draweetb" maxlength="3" constraint="/^(?!000)[0-9]*$/: Please enter valid Drawee bank code" width="80%" ></textbox></row> </rows> </grid> <hbox pack="center" height="2%" width="70%"></hbox> <hbox pack="end" height="1%" width="100%" > <hbox pack="end" height="1px" width="30%" > <button class="btn btn-primary" id="searchbtn" label="Search" width="70px" visible="true" mold="trendy"/> </hbox> </hbox> <hbox pack="center" height="5%" width="70%"></hbox> </div> <div id="batchlistdiv" 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 = "batchgrid" 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> <listitem></listitem> </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="releaselckbtn" label="Release Lock" mold = "trendy" width="100px" visible="true" class="btn btn-primary" /> <space bar="false" spacing="10px"></space> <button id="delbtn" 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 ="centerlbl" visible ="false" > <north border = "0" height="50%"> <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 align="center" height="100%" width="100%"> <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="dracctypelbl" width="60%"></label></row> <row><label value="Dr. Account Status:" width="40%"></label><label id="draccstatlbl" width="60%"></label></row> <row><label value="Dr. Finacle Full Ac No:" width="40%"></label><label id="drfinaccnolbl" width="60%"></label></row> <row><label value="Possible Dup Cheque Status:" width="40%"></label><a id="dupchqstatusa" width="60%"></a></row> <row><label value="Dr. Memo Pad :" width="40%"></label><a id="drmemopada" label="View" width="60%"></a></row> <row><label value="Cr. Memo Pad :" width="40%"></label><a id="crmemopada" label="View" width="60%"></a></row> <row><label value="No. of Presentment:" width="40%"></label><a id="nopresenmenta" width="60%"></a></row> <row><label value="Positive Pay Status:" width="40%"></label><label id="posspaystatuslbl" width="60%"></label></row> <row><label value="CAR/LAR Status:" 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="ASV Score:" width="40%"></label><label id="asvscorelbl" width="60%"></label></row> <row><label value="IBAN:" width="40%"></label><label id="ibanlbl" width="60%"></label></row> </rows> </grid> </div> </east> <north border="0" height="0%"></north> <south border="0" height="0%"></south> </borderlayout> </panelchildren> </panel> </north> <center border = "0"> <borderlayout height="100%"> <north border="0" height="100%"> <borderlayout height="100%"> <north height="100%"> <div id ="micrdatediv" align ="left" width="100%" height="100%" style="overflow:auto"> <grid id="data_grid1" width="100%" height="50%"> <columns width="100%"> <column width="20%"></column> <column width="15%"></column> <column width="15%"></column> <column width="15%"></column> <column width="20%"></column> <column width="15%"></column> </columns> <rows id="data_rows1"> <row id ="pdrow" width="100%"> <label value = "Credit Ac No / 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="creditcrdltb" ></textbox> <label id="suspense_aclbl"></label> <label id="suspense_acnamelbl"></label> <label id="cracnostatuslbl"></label> <label id="payeenamelbl"></label> <label id="cr_acnotyplbl"></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%"></textbox><textbox id="micrtb2" width="100%"></textbox><textbox id="micrtb3" width="100%"></textbox></box></vbox><vbox><label value="Date" width="100%"></label><hbox pack="center" align="center"><datebox id="datebox" width="100%" /></hbox></vbox><vbox><hbox><label id ="datelbl" style="text-align:center" width="150%"></label></hbox></vbox><vbox><label value="New Debit Account" width="100%"></label><textbox id="debacnotb" width="100%"></textbox></vbox></row> <row><vbox ><label value="QR Code Value" width="100%"></label><textbox id="qrcodetb" width="100%"></textbox></vbox><vbox><label value="Issuer Name" width="100%"></label><textbox id="issuertb" width="100%"></textbox></vbox><vbox ><label value="Narration 1" width="100%"></label><textbox id="narration1tb" width="100%" placeholder="Enter Narration1"></textbox></vbox><vbox ><label value="Narration 2" width="100%"></label><textbox id="narration2tb" width="100%"></textbox></vbox><vbox ><label value="Narration 3" width="100%"></label><textbox id="narration3tb" width="100%"></textbox></vbox></row> </rows> </grid> </div> </north> </borderlayout> </north> </borderlayout> </center> <south height="20%" style="overflow:auto"> <div width="90%" height="240%"> <borderlayout height="100%" width="100%"> <north border="1" height="50%"> <borderlayout height="100%"> <west width="30%"> <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="70%"> <borderlayout width="100%" height="100%"> <west width="45%"> <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> </west> <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> <east width="47%"> <div width="100%" height="100%"> <listbox id="custsignlistbox" vflex="true" sizedByContent="true" span="true"> <listhead sclass="MyRowHeight"> <listheader label="Signature ID" style="text-align:center;" hflex="min" /> <listheader label="Signature Name" style="text-align:center;" hflex="min" /> <listheader label="Relation" style="text-align:center;" hflex="min" /> </listhead> </listbox> </div> </east> </borderlayout> </east> </borderlayout> </north> <center border = "0"> <borderlayout width="150%" height="100%"> <west width="50%" border = "0"> <div id ="micrdatediv1" align ="left" width="100%" height="100%"> <hbox spacing="20px"> <groupbox width="250px" height="150px"> <caption> <div><label value="Count Balancing"></label></div> </caption> <hbox> <label value="Batch count : " /><label id = "batchcntlbl" /> </hbox> <hbox> <label value="Scan Count : " /><label id = "scancountlbl" /> </hbox> <hbox> <label value="Difference : " /><label id = "diffcntlbl" /> </hbox> </groupbox> <groupbox width="250px" height="150px"> <caption> <div><label value = "Amount Balancing"></label></div> </caption> <hbox> <label value="Batch Amount : " /><label id = "batchamtlbl" /> </hbox> <hbox> <label value="CDK Amount : " /><label id = "cdkamtlbl" /> </hbox> <hbox> <label value="Difference : " /><label id = "diffamtlbl" /> </hbox> </groupbox> </hbox> </div> </west> <center border = "0"></center> <east width="50%" border = "0"> <borderlayout height="100%"> <east width="70%" border = "0"> <div> <grid id="gridbalanceid" visible ="false" height="70%"> <columns width="100%" > <column width="30%"></column> <column width="10%"></column> <column width="60%"></column> </columns> <rows> <row width="100%"> <label value ="Item Count" ></label><label value = ":" ></label><textbox id="itemcounttb" maxlength="3"></textbox> </row> <row width="100%"> <label value ="Amount" ></label><label value = ":" ></label><textbox id="amounbaltb"></textbox> </row> <row spans="3"> <button id = "batchbalsavebtn" width="60px" label="Save" visible="true" class="btn btn-primary"></button> </row> </rows> </grid> </div> </east> <west width="30%" border = "0"> <vbox id = "tbvb" width="100%" align="center" visible = "false"> <hbox width="100%"> <button id ="forcebalancebtn" label = "Force balance" class="btn btn-primary"></button> </hbox> <hbox width="100%"> <button id ="redobtn" label = "Redo" visible="true" class="btn btn-primary"></button> </hbox> </vbox> </west> </borderlayout> </east> <south border="0" ></south> </borderlayout> </center> </borderlayout> </div> </south> </borderlayout> </center> <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="100px"></space> <button id="acceptbtn" label="Accept" 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="returnreasoncb" width="80%" readonly="true"></combobox> <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> <combobox id="deletereason1cb" width="80%" readonly="true"></combobox> <space bar="false" spacing="10px"></space> <button id="skipbtn" label="Skip" mold = "trendy" width="100px" visible="true" class="btn btn-primary" /> <space bar="false" spacing="10px"></space> <combobox id="skipreasoncb" width="80%" readonly="true"></combobox> </hbox> </cell> </row> </rows> </grid> </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"); } }