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 :

Object hashcode different with ZK form binding

2YannUnil172.69.108.13540rj0kApr 19, 2024 1:18:08 PMlink

Object hashcode different with ZK form binding

1YannUnil172.69.108.13040rj0kApr 19, 2024 1:04:31 PMlink

font awesome effects

1guest172.71.166.21232nla3hApr 18, 2024 6:04:43 PMlink

font awesome effects

245guest172.71.166.21220t2jmoApr 18, 2024 6:04:41 PMlink

ZK-5696

1JamesChu162.158.187.3739iuvhmApr 18, 2024 10:33:52 AMlink

Listbox colspan header version 2

3guest172.71.183.199jkpp6qApr 17, 2024 1:54:19 PMlink

ZK-5695

1guest162.158.90.1402is2rctApr 17, 2024 10:23:20 AMlink

LocalDate in datebox

2guest172.70.243.516v49n7Apr 17, 2024 6:05:17 AMlink

LocalDate in datebox

1guest172.70.243.516v49n7Apr 17, 2024 6:04:18 AMlink

LocalDate in datebox

1guest172.70.243.511m6i0gcApr 17, 2024 6:04:04 AMlink

Another new ZK fiddle

2guest115.254.63.502brg442Sep 25, 2018 3:23:59 PMlink

resources

index.zulzul<?page id="nurole" title="MMS Reinitiate" contentType="text/html;charset=UTF-8"?> <zk> <window id="wmmsreinitiate" apply="" 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: #728C00; } .expstyle1 .z-window-modal-header { background: #728C00; } .expstyle1 .z-textbox { text-transform:uppercase; } </style> <tabbox id="tb" orient="horizontal" width ="100%" height="100%"> <tabs id="tabs" width="125px"> <tab id="dataentrytab" label="MMS Reinitiate"/> </tabs> <tabpanels> <tabpanel style="overflow:auto;" visible="false"> <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" width="80%" align="center" visible="true"> <grid id="gridmain" width = "50%" align="center" > <columns> <column width="40%"></column> <column width="60%"></column> </columns> <rows> <row><label value = "Processing Type:"></label><combobox id="processcb" width="70%" readonly="true"></combobox></row> <row><label value ="Scan Date:"></label><datebox id ="scandatedb" readonly="true" width="70%"></datebox></row> <row id="startrw" visible="false"><label value ="Date From:"></label><datebox id ="startdatedb" readonly="true" width="70%" ></datebox></row> <row id="endrw" visible="false"><label value ="Date To:"></label><datebox id ="enddatedb" readonly="true" width="70%"></datebox></row> <row id="utilityrw" visible="false"><label value ="Utility Code :"></label><combobox id ="utilitycb" readonly="true" width="70%"></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="serchdiv" align ="center" width ="98%" height="null" visible="false"> <listbox id = "data_grid" height="null" width="80%" mold="paging" pageSize="10"> <listhead> <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="true"/> <button id="releasesessionbtn" label="Release Locked" mold = "trendy"/> </hbox> </div> <div id="serchdiv1" align ="center" width ="80%" height="null" visible="true"> <listbox id = "data_grid1" height="null" width="80%" mold="paging" pageSize="10"> </listbox> <hbox pack="end" height="2%" width="80%" ></hbox> <hbox pack="end" height="25%" width="80%" > <label id = "totutililbl" value="Total Utility : " style="color:blue"> </label><label id = "totutility" style="color:blue"></label> <label id = " totcountlbl" value="Total Count : " style="color:blue"> </label><label id = "totcount" style="color:blue"></label> <button id="cancelbtn" label="Cancel" mold = "trendy" width="60px" /> <button id="processbtn" label="Process" mold = "trendy" width="60px" visible="true"/> </hbox><!-- <hbox pack="start" height="30%" width="80%" > <label id = "totutililbl" value="Total Utility : "> </label><label id = "totutility" ></label> </hbox> <hbox pack="start" height="25%" width="80%" > <label id = "totcountlbl" value="Total Count : "> </label><label id = "totcount" ></label> </hbox> --></div> </div> </north> <center border="0"> <panel id="mdatapanel" width="100%" height="100%" visible = "false"> <panelchildren> <borderlayout> <north height="7%"> <div id="savediv" align="right" height="100%" width="98%" > <div> <button id="reinitiatebtn" label="Reinitiate" width="70px" mold ="trendy"/> <button id="rejectbtn" label="Reject" width="60px" mold ="trendy"/> </div> </div> </north> <west width="75%" 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="4%" > <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> </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="false" ><label></label><label id="mandateid" width = "90%" ></label></row> <row><label value="Utility Code:"/><textbox id="utilitycodetb" width = "90%" readonly = "true"/></row> <row><label value="Creditor Name:" /><textbox id="cnametb" width = "90%" readonly = "true"/></row> <row><label value="Category Code:"/><textbox id="cattb" width = "90%" readonly = "true"/></row> <row><label value="A/C Type:"/><textbox id="actypetb" width = "90%" readonly = "true"/></row> <row><label value="Action Type:"/><textbox id="actiontypetb" width = "90%" readonly = "true"/></row> <row><label value="Debitor ACNO:"/><textbox id="destacctb" width = "90%" readonly = "true"/></row> <row><label value="Debitor IFSC/MICR Code:"/><textbox id="micrcodetb" width = "90%" readonly = "true"/></row> <row><label value="Debitor Bank Code:" /><label id="destbanktb" width = "90%"/></row> <row><label value="Debitor Bank Name:" /><label id="destbanklbl" width = "90%"/></row> <row><radio id = "fix" label = "Fix" /><radio id = "max" label = "Max" /></row> <row><label value="Amount:"/><textbox id="amounttb" width = "90%" readonly = "true"/></row> <row><label value="Consumer Ref No:"/><textbox id="crefnotb" width = "90%" readonly = "true"/></row> <row><label value="Plan Ref No:"/><textbox id="prefnotb" width = "90%" readonly = "true"/></row> <row><label value="Frequency:"/><textbox id="freqtb" width = "90%" readonly = "true"/></row> <row><label value="Start Date:(dd/mm/yyyy)"/><textbox id="startdb" width = "90%" readonly = "true"/></row> <row><label value="Untill Cancelled:"/><checkbox id="uncancb" width = "90%"/></row> <row><label id = "ed" value="End Date:(dd/mm/yyyy)"/><textbox id="enddb" width = "90%" readonly = "true"/></row> <row><label value="Debitor Name:" /><textbox id="destcnametb" width = "90%" readonly = "true"/></row> <row><label value="Debitor Phoneno:"/><textbox id="destphonetb" width = "90%" readonly = "true"/></row> <row><label value="Debitor Mobileno:"/><textbox id="destmobiletb" width = "90%" readonly = "true"/></row> <row><label value="Debitor Email:"/><textbox id="destemailtb" width = "90%" readonly = "true"/></row> <row><label value="Add. Details:"/><textbox id="destidtb" width = "90%" readonly = "true"/></row> </rows> </grid> </div> </center> </borderlayout> </panelchildren> </panel> </center> </borderlayout> </tabpanel> </tabpanels> </tabbox> </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"); } }