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 :

how to disable day in Datebox in Zk

1guest182.73.235.2423q285apJun 19, 2018 4:45:49 AMlink

Client side code does not respect IdSpace

4guest211.74.125.733eloq0sJun 19, 2018 3:45:14 AMlink

Client side code does not respect IdSpace

3guest211.74.125.733eloq0sJun 19, 2018 3:45:00 AMlink

Client side code does not respect IdSpace

2guest211.74.125.733eloq0sJun 19, 2018 3:37:41 AMlink

ZK Grid pagination

1guest14.176.232.8633vcmiqJun 19, 2018 2:44:30 AMlink

Another new ZK fiddle

1guest199.116.174.1231nokegdJun 19, 2018 2:39:03 AMlink

Another new ZK fiddle

9guest63.118.154.6610kmdl4Jun 18, 2018 8:09:54 PMlink

Another new ZK fiddle

8guest63.118.154.6610kmdl4Jun 18, 2018 8:01:04 PMlink

Another new ZK fiddle

7guest63.118.154.6610kmdl4Jun 18, 2018 7:55:52 PMlink

Another new ZK fiddle

6guest63.118.154.6610kmdl4Jun 18, 2018 7:23:31 PMlink

Simple slide with lots of image

894guest31.171.169.183m116adMay 27, 2018 9:12:08 AMlink

resources

index.zulzul<zk> <style> .the-slider { width: 420px; height: 310px; overflow: hidden; } .the-slider div { width: 1500px; } .the-slider div img { margin: 5px 10px; width: 400px; height: 300px; } </style> <script type="text/javascript"><![CDATA[ var contentList = [], contentLength, index = 3, frameWidth = 420, animateTime = 500, slideShow; function setContent (content) { contentList = content.split(','); contentLength = contentList.length } function startSlideShow (delay) { var $slider = jq('$slider'), $container = jq('$container'); slideShow = setInterval (function () { $slider.animate({'scrollLeft': '+='+frameWidth+'px'}, animateTime, null, function (){ var firstImage = $container.find('img')[0]; // change the src of first image after slide firstImage.src = contentList[index]; // update index index = (index+1) % contentLength; // move the first image to the last $container[0].appendChild(firstImage); // reset the scrollLeft of slider $slider[0].scrollLeft = 0; }); }, delay); } function stopSlideShow () { clearInterval (slideShow); } ]]></script> <div apply="pkg$.TestComposer"> <div id="slider" class="the-slider"> <div id="container"> <image id="imgOne" /> <image id="imgTwo" /> <image id="imgThree" /> </div> </div> delay: <intbox id="interval" /> seconds <button id="start" label="start" /> <button id="stop" label="stop" /> </div> </zk>TestComposer.javajava import java.util.*; import org.zkoss.zk.ui.Component; import org.zkoss.zk.ui.util.Clients; import org.zkoss.zk.ui.util.GenericForwardComposer; import org.zkoss.zul.*; public class TestComposer extends GenericForwardComposer { Image imgOne; Image imgTwo; Image imgThree; Intbox interval; Button start; Button stop; List<String> contentList = null; int length; int index = 0; public void doAfterCompose (Component comp) throws Exception { super.doAfterCompose(comp); // init first part image imgOne.setSrc(getSrc()); imgTwo.setSrc(getSrc()); imgThree.setSrc(getSrc()); Clients.evalJavaScript("setContent('"+getContentString()+"')"); } public void onClick$start () { int delay = interval.getValue(); String command = "startSlideShow(" + delay*1000 + ")"; System.out.println(command); Clients.evalJavaScript(command); } public void onClick$stop () { String command = "stopSlideShow()"; Clients.evalJavaScript(command); } private String getContentString() { StringBuilder sb = new StringBuilder(); List l = getContentList(); for (int i = 0; i < l.size(); i++) { if (i > 0) sb.append(","); sb.append(l.get(i)); } return sb.toString(); } private List<String> getContentList () { if (contentList == null) { // modify here for dynamic assign images contentList = new ArrayList<String>(); for (int i = 0; i < 1000; i++) contentList.add("img/my_draw_"+i+".png"); } length = contentList.size(); return contentList; } private String getSrc () { String src = getContentList().get(index); index = (index+1) % length; return src; } }