Processing...

Suggested case list:

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

identify firefox or not in server side

1TonyQ198.203.175.1751nv2qreDec 10, 2011 4:25:04 AMlink

ZK addThis integration

1TonyQ198.203.175.1751apl96jNov 5, 2011 4:12:50 AMlink

Latest 10 Fiddles :

closable window

2guest220.134.32.2421s9rj9oApr 24, 2019 2:55:18 AMlink

closable window

1guest220.134.32.2421s9rj9oApr 24, 2019 2:52:43 AMlink

decimalbox tooltip

12guest73.7.194.753hjk8afApr 23, 2019 9:37:01 PMlink

Databind example

121guest164.100.222.4438ipduoApr 23, 2019 12:57:28 PMlink

Another new ZK fiddle

20guest115.249.163.170355em05Apr 23, 2019 12:20:45 PMlink

Another new ZK fiddle

19guest115.249.163.170355em05Apr 23, 2019 11:23:16 AMlink

Another new ZK fiddle

18guest115.249.163.170355em05Apr 23, 2019 11:22:49 AMlink

Another new ZK fiddle

17guest115.249.163.170355em05Apr 23, 2019 11:22:13 AMlink

Another new ZK fiddle

16guest115.249.163.170355em05Apr 23, 2019 11:21:03 AMlink

Another new ZK fiddle

15guest115.249.163.170355em05Apr 23, 2019 11:20:46 AMlink

zk timeout simplified

6guest118.233.164.3585cq6Aug 3, 2017 7:08:13 AMlink

resources

index.zulzul<?page automaticTimeout="true"?> <?script src="expirationCountdownScript.js" ?> <zk xmlns:w="client"> <window border="normal"> <vlayout> <label w:onBind="startSessionExpirationInterval(this)"/> <button label="test timeout" onClick='Messagebox.show("test")'/> </vlayout> </window> <style>.count { font-weight: bold; font-size: 16px; } .time { font-size: 16px; }</style> <zscript> int countNum = 10; void restart() { countNum = 10; pm.value = 0; timer.start(); } </zscript> <groupbox mold="3d" closable="false"> <caption label="Timer Demo"> </caption> <vlayout spacing="30px"> <label id="now" sclass="time" /> <label id="count" sclass="count" /> <progressmeter id="pm" value="0" width="300px" /> <hlayout> <button label="Start" onClick="timer.start()" width="80px" /> <button label="Stop" onClick="timer.stop()" width="80px" /> <button label="Restart" onClick="restart()" width="80px" /> </hlayout> </vlayout> </groupbox> <timer id="timer" delay="1000" repeats="true"> <attribute name="onTimer"> now.setValue("Time :" + new Date().toString()); if (countNum == 0) { timer.stop(); return; } count.value = "Count : " + --countNum + ""; pm.value = pm.value + 10; </attribute> </timer> </zk> expirationCountdownScript.jsjavascriptvar expirationTime; var expirationInterval; function startSessionExpirationInterval(wgt){ if(!zk.timeout){ console.warn('zk auto-timeout required!') return } function sessionExpirationLabelUpdate(){ var currentTime = new Date(); var remaining = expirationTime - currentTime; if(remaining <= 0){ wgt.setValue("EXPIRED"); clearInterval(expirationInterval); return; } wgt.setValue(msToTime(remaining)); } return setInterval(sessionExpirationLabelUpdate, 1000); } function calcTimeout(val){ return Math.floor(val>540?val-60:val<45?val-5:val/1.125); } function msToTime(duration) { var milliseconds = parseInt((duration%1000)/100) , seconds = parseInt((duration/1000)%60).toString().padStart(2,'0') , minutes = parseInt((duration/(1000*60))%60).toString().padStart(2,'0') , hours = parseInt((duration/(1000*60*60))%24); return hours + ":" + minutes + ":" + seconds; } function setExpiration(){ var expiration = new Date(); expiration.setSeconds(expiration.getSeconds() + calcTimeout(zk.timeout)); expirationTime = expiration; } var realResetTimeout= zAu._resetTimeout; zAu._resetTimeout = function(){ setExpiration(); return realResetTimeout.apply(); } //zWatch.listen({ // onSend: { // onSend: function (ctl, arg0) { // setExpiration(); // } // }, //}); setExpiration();