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 :

Another new ZK fiddle

8guest172.71.154.639j0j0oMar 12, 2025 3:27:22 AMlink

Another new ZK fiddle

7guest172.71.147.12639j0j0oMar 12, 2025 3:18:39 AMlink

Another new ZK fiddle

6guest172.71.147.12839j0j0oMar 12, 2025 3:17:02 AMlink

Another new ZK fiddle

5guest172.71.147.12639j0j0oMar 12, 2025 3:15:38 AMlink

Another new ZK fiddle

4guest172.71.147.12539j0j0oMar 12, 2025 3:15:13 AMlink

ZK event on href unload session timeout

4guest172.69.22.22415ntp3uMar 12, 2025 3:05:09 AMlink

Another new ZK fiddle

3guest172.69.22.22515ntp3uMar 12, 2025 3:04:22 AMlink

Another new ZK fiddle

2guest172.69.23.21115ntp3uMar 12, 2025 3:03:28 AMlink

Another new ZK fiddle

1guest172.69.22.22415ntp3uMar 12, 2025 3:03:05 AMlink

Tree that contains Anchor with Div - session-timeout Bug

4guest172.69.23.21260j3hkMar 12, 2025 2:57:38 AMlink

demo.zul

2guest162.158.172.2402ptanufMar 10, 2025 2:40:38 PMlink

resources

index.zulzul<?xml version="1.0" encoding="UTF-8"?> <zk xmlns="http://www.zkoss.org/2005/zul"> <borderlayout> <center> <div style="display: flex; flex-direction: row; flex-wrap: wrap;width:100%; height: 100%"> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-top: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" style="height: 10%;display: flex; flex-direction: column; justify-content: center; align-items: center;"/> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> <div style="width: 23%; height: 16%;"> <label value="Box 1" style="height: 10%;margin-bottom: 10px;display: flex; flex-direction: column; justify-content: center; align-items: center;" /> <div style="height: 90%; background-color: pink; margin: 10px;"> <label value="Box 1" /> </div> </div> </div> </center> </borderlayout> </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$botton(Event e) throws InterruptedException{ Messagebox.show("Hi btn"); } } template.zulzul<zk> <borderlayout width="100%" height="330px"> <east width="250px" collapsible="true" title="Quick Link"> <div sclass="logo"> <apply template="sidebar"/> </div> </east> <center> <div sclass="content"> <apply template="content"/> </div> </center> </borderlayout> </zk>demo.zulzul<zk> <style src="/widgets/shadow_elements/template_injection/style.css" /> <radiogroup onCheck="inc.setSrc(self.getSelectedItem().getValue());"> <custom-attributes org.zkoss.zul.image.preload="true" /> <grid width="600px"> <auxhead> <auxheader rowspan="2">Templates</auxheader> <auxheader colspan="2">Product</auxheader> </auxhead> <auxhead> <auxheader>ZK Framework</auxheader> <auxheader>ZK Studio</auxheader> </auxhead> <columns visible="false"> <column width="300px"></column> <column></column> <column></column> </columns> <rows> <row> <hlayout> <div width="100px">Template 1</div> <image src="/widgets/shadow_elements/template_injection/img/template1.png" /> </hlayout> <radio value="/widgets/shadow_elements/template_injection/composition1a.zul" selected="true" /> <radio value="/widgets/shadow_elements/template_injection/composition2a.zul" /> </row> <row> <hlayout> <div width="100px">Template 2 (full)</div> <image src="/widgets/shadow_elements/template_injection/img/template2.png" /> </hlayout> <radio value="/widgets/shadow_elements/template_injection/composition1b.zul" /> <radio value="/widgets/shadow_elements/template_injection/composition2b.zul" /> </row> </rows> </grid> </radiogroup> <separator height="40px"></separator> <!-- Simulated a real url access --> <include id="inc" src="/widgets/shadow_elements/template_injection/composition1a.zul" height="430px" /> </zk> template_full.zulzul<zk> <panel width="100%" border="normal" title="Product Introduction" sclass="complex"> <toolbar sclass="top-toolbar"> <toolbarbutton label="ZK Framework" /> <toolbarbutton label="ZK Studio" /> <toolbarbutton label="ZK Spreadsheet" /> <toolbarbutton label="ZK Pivottable" /> <toolbarbutton label="ZK Calendar" /> <toolbarbutton label="ZK JSP" /> <toolbarbutton label="ZTL" /> </toolbar> <panelchildren> <borderlayout width="100%" height="330px"> <west width="250px" collapsible="true" title="Quick Link"> <div sclass="logo"> <apply template="sidebar"/> </div> </west> <center> <div sclass="content"> <apply template="content"/> </div> </center> </borderlayout> <div sclass="footer"> Copyright © 2011 ZK Demo. All rights reserved. </div> </panelchildren> </panel> </zk> composition.zulzul<zk> <apply templateURI="/widgets/shadow_elements/template_injection/template.zul"> <template name="content" src="/widgets/shadow_elements/template_injection/contents/zk_framework_product.zul" /> <template name="sidebar" src="/widgets/shadow_elements/template_injection/contents/zk_framework_sidebar.zul" /> </apply> </zk>composition1a.zulzul<zk> <apply templateURI="/widgets/shadow_elements/template_injection/template.zul"> <template name="content" src="/widgets/shadow_elements/template_injection/contents/zk_framework_product.zul" /> <template name="sidebar" src="/widgets/shadow_elements/template_injection/contents/zk_framework_sidebar.zul" /> </apply> </zk>composition1b.zulzul<zk> <apply templateURI="/widgets/shadow_elements/template_injection/template_full.zul"> <template name="content" src="/widgets/shadow_elements/template_injection/contents/zk_framework_product.zul" /> <template name="sidebar" src="/widgets/shadow_elements/template_injection/contents/zk_framework_sidebar.zul" /> </apply> </zk>composition2a.zulzul<zk> <apply templateURI="/widgets/shadow_elements/template_injection/template.zul"> <template name="content" src="/widgets/shadow_elements/template_injection/contents/zk_studio_product.zul"/> <template name="sidebar" src="/widgets/shadow_elements/template_injection/contents/zk_studio_sidebar.zul"/> </apply> </zk>composition2b.zulzul<zk> <apply templateURI="/widgets/shadow_elements/template_injection/template_full.zul"> <template name="content" src="/widgets/shadow_elements/template_injection/contents/zk_studio_product.zul"/> <template name="sidebar" src="/widgets/shadow_elements/template_injection/contents/zk_studio_sidebar.zul"/> </apply> </zk>test.zulzul<zk> <window border="normal" title="hello" apply="pkg$.TestComposer"> <div width="260px" style="text-align: center;" onOK="@command('login')" onCancel="@command('clear')"> <image src="/img/sca-logo-h.jpg" width="220px" /> <separator height="10px" /> <label sclass="pageHeader" value="@load(vm.getAppVersion())" /> <separator height="20px" /> <div class="input-group input-group"> <span sclass="input"> <combobox hflex="1" use="sca.logistics.wmsgui.utils.ComboboxSelect" model="@load(vm.databases)" selectedItem="@bind(vm.database)" autocomplete="true" constraint="no empty" placeholder="Select Database"> <template name="model"> <comboitem label="@load(each.description)" /> </template> </combobox> </span> </div> <separator height="40px" /> <div style="padding-left:15px;" class="input-group input-group"> <span class="input-group-addon"> <span class="glyphicon glyphicon-user" /> </span> <span sclass="input"> <textbox focus="true" id="userTb" value="@bind(vm.user)" /> </span> </div> <separator /> <div style="padding-left:15px;" class="input-group input-group"> <span class="input-group-addon"> <span class="glyphicon glyphicon-lock" /> </span> <span sclass="input"> <textbox id="passTb" type="password" value="@bind(vm.pass)" /> </span> </div> <separator height="40px" /> <button sclass="z-button btn-lg " label="Login" id="searchBtn" disabled="false" tooltiptext="Do Login" type="submit" onClick="@command('eeee')" /> <space width="5px" /> <button type="reset" onClick="@command('clear')" label="Clear" sclass="z-button btn-lg btn-default" /> <div style="padding-left:15px;padding-top:10px;"> <div style="color:red" visible="@load(not empty vm.result)"> <label value="@bind(vm.result)" /> </div> </div> <div style="color:green" if="${not empty param.logout_message}"> <![CDATA[You have been logged out.]]> <separator/> <![CDATA[Reason: ${param.logout_message}]]> </div> </div> </window> </zk> test.zulzul<zk> <window border="normal" title="hello" apply="pkg$.TestComposer"> <div>Welcome to ZK Fiddle , run it right now!</div> <button id="btn" label="Click Me To Evalute Event Binding With Composer" /> </window> </zk>