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 :

ComboBox - Selection with Checkboxes

4guest162.158.50.234elaaadMay 29, 2020 12:24:18 PMlink

ComboBox - Selection with Checkboxes

3guest162.158.50.228elaaadMay 29, 2020 12:23:29 PMlink

ComboBox - Selection with Checkboxes

2guest172.69.135.212elaaadMay 29, 2020 12:21:47 PMlink

Bug in _fixTabsScrollLeft

3guest162.158.183.1933df8b6hMay 29, 2020 10:08:46 AMlink

Bug in _fixTabsScrollLeft

2guest162.158.183.1933df8b6hMay 29, 2020 10:07:28 AMlink

Bug in _fixTabsScrollLeft

1guest162.158.183.1393df8b6hMay 29, 2020 9:45:51 AMlink

listbox-horizontal-scroll-in-listbody-covers-rows-content

47guest188.114.110.2142mcqgieMay 29, 2020 9:26:57 AMlink

1 button

1hawk108.162.215.1941av3k2pMay 29, 2020 7:17:11 AMlink

Listheader keep visible state

1guest198.41.231.1032t3h3peMay 28, 2020 7:19:15 PMlink

Custom converter example MVVM

2guest162.158.225.16029mfhsrMay 28, 2020 3:40:03 PMlink

Another new ZK fiddle

3guest162.158.167.523b1ftelMar 30, 2020 1:51:05 PMlink

resources

index.zulzul<?page id=" piespec" title="Import Export Specification"?> <zk> <window id="wiespec" sclass="expstyle1" border="normal" 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: #007DC8; } .expstyle1 .z-window-modal-header { background: #007DC8; } </style> <borderlayout width="100%" height="100%"> <north size="100%" splittable="true" collapsible="false" flex="true"> <borderlayout> <north height="50%" border="0" flex="true"> <div > <grid align="center" > <columns> <column width="10.5%"></column> <column width="14.5%"></column> <column width="10.5%"></column> <column width="14.5%"></column> <column width="10.5%"></column> <column width="14.5%"></column> <column width="10.5%"></column> <column width="14.5%"></column> </columns> <rows width="100%" height="100%"> <row align="left" width="100%"> <label value="Spec Name* "></label> <textbox width="150px" id="spcnametb" maxlength="25" constraint="/^[^\s][^0][a-zA-Z0-9-,.: ]+[a-zA-Z0-9-,.:]+$/:Enter Alphanumeric Name" /> <label value="Partner Name* " id="prtnrtypelabel"></label> <combobox id="partnernamecb" readonly="true" > <comboitem label="--Please select--" /> </combobox> <label value="Mode Type* "></label> <combobox width="150px" id="modetypecb" readonly="true" > <comboitem label="--Please select--"/> <comboitem label="Export"/> <comboitem label="Import (ACK)"/> <comboitem label="Import (RES)"/> </combobox> <label value="Instrument Type* "></label> <combobox id="insttypecb" width="150px" readonly="true" disabled="true"> <comboitem label="--Please select--"/> <comboitem label="PDC"/> <comboitem label="DD"/> <comboitem label="NACH"/> <comboitem label="ECS"/> </combobox> </row> <row> <label value="File Type* " ></label> <combobox id="filetypecb" width="150px" readonly="true"> <comboitem label="--Please select--" /> <comboitem label="TXT OR DSV"></comboitem> <comboitem label="XLSX"></comboitem> <comboitem label="CSV"></comboitem> </combobox> <label value="Specification Type :" id="spectypelb" ></label> <hbox> <combobox id="spectypecb" width="110px" readonly="true"> <comboitem label="--Please select--" /> <comboitem label="FIXEDWIDTH" /> <comboitem label="DELIMITED" /> </combobox> <textbox id="spec_delim_tb" maxlength="1" width="20px"/> </hbox> <label value="Transfer To :"></label> <combobox id="trnstosftpcb" width="150px" readonly="true" > <comboitem label="--Please select--" /> <comboitem label="SFTP" /> <comboitem label="LOCAL" /> <comboitem label="API" /> </combobox> <label value="Encryption Required :"></label> <combobox id="encryptiondcsncb" width="150px" readonly="true" > <comboitem label="--Please select--" /> <comboitem label="YES" /> <comboitem label="NO" /> </combobox> </row> <row> <label value="Client ID* " ></label> <textbox id="clientidtb" maxlength="20" constraint="/^[a-zA-Z0-9]+$/:Special Characters are not Allowed" width="150px"/> <label value="Banking Buffer Day* " id="bbdlb" ></label> <textbox id="bbdtb" maxlength="1" constraint="/^[1-9]/:Enter the Numeric Character" width="150px"/> <label value="Presentment Buffer Day* " id="presentmentbdlb" ></label> <textbox id="presentmentbdtb" maxlength="1" constraint="/^[1-9]/:Enter the Numeric Character" width="150px"/> <label value="Alert EMail ID* " id="alertemailidlb" ></label> <textbox id="alertemailidtb" maxlength="20" width="150px" constraint="/^[a-zA-Z0-9._]+[@]?[a-zA-Z]+[.]?[a-zA-Z]{2,3}/: Please enter an e-mail address"/> </row> <row> <label value="ACK Required :"></label> <combobox id="ackdcsncb" width="150px" readonly="true" > <comboitem label="--Please select--" /> <comboitem label="YES" /> <comboitem label="NO" /> </combobox> <label value="File Export Path* " id="fileexportpathlb" ></label> <textbox id="fileexportpathtb" maxlength="50" constraint="/^[a-zA-Z0-9_\/\S]+[\/]/:Path Ends with '/'" width="150px"/> <label value="Acknowledgement Path* " id="ackpathlb" ></label> <textbox id="ackpathtb" maxlength="50" constraint="/^[a-zA-Z0-9_\/\S]+[\/]/:Path Ends with '/'" width="150px"/> <label value="Response Path* " id="respathlb" ></label> <textbox id="respathtb" maxlength="50" constraint="/^[a-zA-Z0-9_\/\S]+[\/]/:Path Ends with '/'" width="150px"/> </row> <row> <label value="SFTP Acronym :"></label> <textbox id="sftpacro" maxlength="4" constraint="/^[A-Z]+/:Only four Letters" width="150px"/> </row> </rows> </grid> </div> </north> <west size="23%" flex="true" border="0" splittable="false"> <grid align="left" > <columns> <column width="95%"></column> </columns> <rows width="100%" height="100%"> <row align="left" width="100%"> <listbox id="fields" width="100%" style="overflow:auto" vflex="true"> <listhead id="allfieldhead"> <listheader id="allfieldheader" align="center" width="100%" label="Specification" /> </listhead> </listbox> </row> </rows> </grid> </west> <center border="0"> </center> <east size="77%" autoscroll="true"> <div > <vbox align="top" width="97%"> <grid id="spec_detail_fix" align="top" visible="false"> <columns > <column label="Field No." width="13%"/> <column label="Field Name." width="13%"/> <column label="Start Position" width="13%"/> <column label="End Position" width="13%"/> <column label="Default Val" width="13%"/> <column label="Column name" width="15%"/> <column id="fixedit" label="Edit" width="10%" /> <column id="fixdelete" label="Delete" width="10%" /> </columns> <rows id="spec_detail_fix_rows"></rows> </grid> <grid id="spec_detail_delim" align="top" visible="false"> <columns > <column label="Field No." width="15%"/> <column label="Field Name." width="15%"/> <column label="Column Number" width="15%"/> <column label="Default value" width="15%"/> <column label="Column name" width="18%"/> <column id="deledit" label="Edit" width="13%" /> <column id="fixd1elete" label="Delete" width="13%"/> </columns> <rows id="spec_detail_delim_rows"></rows> </grid> <hbox pack="center" height="5%" width="100%"></hbox> <hbox pack="end" height="25%" width="100%" > <hbox pack="end" width="100%" > <button id="Add" label="Add" width="100%" /> <button id="Save" label="Save" /> <button id="Cancel" label="Cancel" /> </hbox> </hbox> <hbox pack="center" height="5%" width="100%"></hbox> </vbox> </div> </east> </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"); } }