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 :

constraint binding textbox

3guest172.68.151.16220peldaDec 5, 2025 5:08:19 PMlink

Another new ZK fiddle

2guest172.68.151.16320peldaDec 5, 2025 5:07:51 PMlink

Another new ZK fiddle

1guest172.68.151.16220peldaDec 5, 2025 5:07:32 PMlink

Another new ZK fiddle

1peggypeng172.71.154.99364f4neDec 5, 2025 9:24:31 AMlink

tooltip example

2guest104.22.23.13rc1ntoDec 4, 2025 2:23:45 PMlink

Another new ZK fiddle

1guest172.69.134.2277t7602Dec 4, 2025 1:40:46 PMlink

Another new ZK fiddle

1peggypeng104.22.17.1802df6e3oDec 4, 2025 8:41:29 AMlink

onClose

1peggypeng172.68.87.248j8kd8aDec 3, 2025 4:10:26 AMlink

Another new ZK fiddle

1peggypeng172.69.134.2271rm7f4eNov 26, 2025 3:31:24 AMlink

ZK-5912-Suggestion

2rebeccalai104.22.20.1442qrmiiuNov 26, 2025 2:07:15 AMlink

Another new ZK fiddle

16guest172.71.158.1913ivvs1lMar 25, 2024 10:22:44 AMlink

resources

index.zulzul<zk xmlns:w="client"> <script><![CDATA[ var pre = function clientLoadData(){ zk.$('$ed').setValue( decodeURI('%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%09%3Ctitle%3EApollo%2011%3C/title%3E%09%3Cmeta%20content=%22text/html;%20charset=utf-8%22%20http-equiv=%22content-type%22%20/%3E%3Cmeta%20content=%22fullpage,docprops,meta,html,head%22%20name=%22keywords%22%20/%3E%3Cmeta%20content=%22CKEditor%204%20full%20page%20editing%20with%20Document%20Properties%20plugin%20sample%22%20name=%22description%22%20/%3E%3Cmeta%20content=%22CKEditor%204%22%20name=%22author%22%20/%3E%3Cmeta%20content=%22CKSource%20Holding%20sp.%20z%20o.o%22%20name=%22copyright%22%20/%3E%3C/head%3E%3Cbody%20style=%22margin-left:%2040px;%20margin-right:%2040px;%20background-color:%20rgb(237,%20237,%20237);%22%3E%3Cdiv%3Ehello%3C/div%3E%3C!%5BCDATA%5B%3Cscript%3Ewindow.alert(%22you%20shouldnt%20see%20this%22);%3C/script%3E%5D%5D%3E%3Cdiv%3Egoodbye%3C/div%3E%3Ch1%3E%3Cimg%20align=%22right%22%20alt=%22Saturn%20V%20carrying%20Apollo%2011%22%20src=%22assets/sample.jpg%22%20/%3E%20Apollo%2011%3C/h1%3E%3Cp%3E%3Cstrong%3EApollo%2011%3C/strong%3E%20was%20the%20spaceflight%20that%20landed%20the%20first%20humans,%20Americans%20%3Ca%20href=%22http://en.wikipedia.org/wiki/Neil_Armstrong%22%3ENeil%20Armstrong%3C/a%3E%20and%20%3Ca%20href=%22http://en.wikipedia.org/wiki/Buzz_Aldrin%22%3EBuzz%20Aldrin%3C/a%3E,%20on%20the%20Moon%20on%20July%2020,%201969,%20at%2020:18%20UTC.%20Armstrong%20became%20the%20first%20to%20step%20onto%20the%20lunar%20surface%206%20hours%20later%20on%20July%2021%20at%2002:56%20UTC.%3C/p%3E%3Cp%3EArmstrong%20spent%20about%20%3Cs%3Ethree%20and%20a%20half%3C/s%3E%20two%20and%20a%20half%20hours%20outside%20the%20spacecraft,%20Aldrin%20slightly%20less;%20and%20together%20they%20collected%2047.5%20pounds%20(21.5&nbsp;kg)%20of%20lunar%20material%20for%20return%20to%20Earth.%20A%20third%20member%20of%20the%20mission,%20%3Ca%20href=%22http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)%22%3EMichael%20Collins%3C/a%3E,%20piloted%20the%20%3Ca%20href=%22http://en.wikipedia.org/wiki/Apollo_Command/Service_Module%22%3Ecommand%3C/a%3E%20spacecraft%20alone%20in%20lunar%20orbit%20until%20Armstrong%20and%20Aldrin%20returned%20to%20it%20for%20the%20trip%20back%20to%20Earth.%3C/p%3E%3Ch2%3EBroadcasting%20and%20%3Cem%3Equotes%3C/em%3E%20%3Ca%20id=%22quotes%22%20name=%22quotes%22%3E%3C/a%3E%3C/h2%3E%3Cp%3EBroadcast%20on%20live%20TV%20to%20a%20world-wide%20audience,%20Armstrong%20stepped%20onto%20the%20lunar%20surface%20and%20described%20the%20event%20as:%3C/p%3E%3Cblockquote%3E%3Cp%3EOne%20small%20step%20for%20%5Ba%5D%20man,%20one%20giant%20leap%20for%20mankind.%3C/p%3E%3C/blockquote%3E%3Cp%3EApollo%2011%20effectively%20ended%20the%20%3Ca%20href=%22http://en.wikipedia.org/wiki/Space_Race%22%3ESpace%20Race%3C/a%3E%20and%20fulfilled%20a%20national%20goal%20proposed%20in%201961%20by%20the%20late%20U.S.%20President%20%3Ca%20href=%22http://en.wikipedia.org/wiki/John_F._Kennedy%22%3EJohn%20F.%20Kennedy%3C/a%3E%20in%20a%20speech%20before%20the%20United%20States%20Congress:%3C/p%3E%3Cblockquote%3E%3Cp%3E%5B...%5D%20before%20this%20decade%20is%20out,%20of%20landing%20a%20man%20on%20the%20Moon%20and%20returning%20him%20safely%20to%20the%20Earth.%3C/p%3E%3C/blockquote%3E%3Chr%20/%3E%3Cp%3E%3Csmall%3ESource:%20%3Ca%20href=%22http://en.wikipedia.org/wiki/Apollo_11%22%3EWikipedia.org%3C/a%3E%3C/small%3E%3C/p%3E%3C/body%3E%3C/html%3E')); } ]]></script> <div apply="pkg$.MyComposer"> <button id="myBtn" label="load Data"/> <button id="clientBtn" label="load data from client" w:onClick="clientLoadData();" /> <ckeditor id="ed" customConfigurationsPath="./config.js"/> </div> </zk> config.jsjavascriptCKEDITOR.editorConfig = function(config) { //enable spell checker config.disableNativeSpellChecker = false; //Automatically enables "Spell Check As You Type" on editor startup config.scayt_autoStartup = true; config.fullPage = true; config.allowedContent = true; };MyComposer.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.*; import org.zkforge.ckez.*; public class MyComposer extends GenericForwardComposer{ private CKeditor ed; public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); ed.setValue("<![CDATA[<script>window.alert('you shouldn't see this');</script>]]>"); } public void onClick$myBtn(Event e) throws InterruptedException{ ed.setValue("<div>hello</div><![CDATA[<script>window.alert('you shouldn't see this');</script>]]><div>goodbye</div>"); } }