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 :

ZK Shadow in MVC

2rudyhuang220.134.32.2429bcgs8Sep 25, 2018 10:51:24 AMlink

ZK Shadow in MVC

1rudyhuang220.134.32.2429bcgs8Sep 25, 2018 10:30:29 AMlink

MVVM confirm case

5guest129.221.62.1053etmmp1Sep 25, 2018 9:58:55 AMlink

MVVM confirm case

4guest129.221.62.1053etmmp1Sep 25, 2018 9:58:16 AMlink

autodisable for button

36guest114.124.229.206obi1o1Sep 25, 2018 9:53:15 AMlink

MVVM confirm case

3guest129.221.62.1053etmmp1Sep 25, 2018 9:33:25 AMlink

MVVM confirm case

2guest129.221.62.1053etmmp1Sep 25, 2018 9:32:35 AMlink

Simple MVVM sample

211guest129.221.62.1053kvld74Sep 25, 2018 9:29:59 AMlink

Simple MVVM sample

210guest129.221.62.1053kvld74Sep 25, 2018 9:28:29 AMlink

Simple MVVM sample

209guest129.221.62.1053kvld74Sep 25, 2018 9:24:09 AMlink

grid dynamically load data from database

1guest115.249.163.1701imqfsaSep 14, 2018 9:25:27 AMlink

resources

index.zulzul<?page title="HCL MOBI" contentType="text/html;charset=UTF-8"?> <?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?> <!-- <?variable-resolver class="com.Jay.Excel.ctrl.UserMapperDataFetch"?> --> <zk xmlns="http://www.zkoss.org/2005/zul" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd"> <window id="UserManager" style="zoom:1;" mode="overlapped" position="center, center" title="User Management" border="normal" xmlns:d="client" closable="true" action="show: slideDown;hide: slideUp" height="400px" width="600px" > <attribute d:name="onClose"> <![CDATA[ event.stop(); var w = this; jq(this).slideUp(600, function() { w.sendAU_(event); flowDownUserManager(event.target._left, event.target._top); }); ]]> </attribute> <zscript><![CDATA[ /* int[] orderArray = new int[50]; for (int j = 0; j < 50; j++) orderArray[j] = 456 + j; void winClose() { Clients.evalJavaScript("flowDownUserManager()"); } */ ]]></zscript> <div> <zscript><![CDATA[ // import com.Jay.Excel.ctrl.UserMapperDataFetch; import pkg$.UserMapper; import java.util.*; UserMapper um=new UserMapper(); // UserMapperDataFetch umdf=new UserMapperDataFetch(); // List liUserMappers=new ArrayList(); // liUserMappers =umdf.getUserData(); List liUserMappers = UserMapper.getTestModel(); ]]> </zscript> <grid id="UserManagement" autopaging="true" mold="paging" vflex="true" model="@{liUserMappers}"> <columns sizable="true"> <column hflex="1" label="UserID" align="left" /> <column hflex="2" label="UserName" align="center" /> <column hflex="1" label="Role" align="center" /> <column hflex="1" label="Department" align="center" /> <column hflex="1" label="Address" align="center" /> <column hflex="1" label="MobileNo" align="center" /> <column hflex="1" label="Email" align="center" /> <column hflex="1" label="Status" align="center" /> </columns> <rows> <row self="@{each=userMapper}"> <textbox value="@{userMapper.userID }"></textbox> <textbox value="@{userMapper.userName }"></textbox> <textbox value="@{userMapper.role }"></textbox> <textbox value="@{userMapper.department }"></textbox> <textbox value="@{userMapper.address}"></textbox> <textbox value="@{userMapper.mobileNo }"></textbox> <textbox value="@{userMapper.email }"></textbox> </row> </rows> </grid> <hbox> <button id="btnUserAdd" label="Add" autodisable="self" mold="trendy" style="font-weight:bold;"> <attribute name="onClick"><![CDATA[ if (!loginWin.isVisible()) loginWin.setVisible(true); loginWin.doHighlighted(); ]]></attribute> </button> <button id="btnUseredit" label="Edit" autodisable="self" mold="trendy" style="font-weight:bold;"> </button> <button id="btnUserdelete" label="Delete" autodisable="self" mold="trendy" style="font-weight:bold;"> </button> </hbox> </div> <button id="btnUserManager" label="Next" autodisable="self" visible="false" mold="trendy" style="font-weight:bold;"> </button> </window> <window id="loginWin" title="Login with zk/zk" width="300px" visible="false" minimizable="true" onOK="loginCheck()" border='normal'> </window> </zk>UserMapper.javajavaimport java.util.*; public class UserMapper { private String UserID; private String UserName; private String Role; private String Department; private String Address; private String MobileNo; private String Email; private String Status; public String getUserID() { return UserID; } public void setUserID(String userID) { UserID = userID; } public String getUserName() { return UserName; } public void setUserName(String userName) { UserName = userName; } public String getRole() { return Role; } public void setRole(String role) { Role = role; } public String getDepartment() { return Department; } public void setDepartment(String department) { Department = department; } public String getAddress() { return Address; } public void setAddress(String address) { Address = address; } public String getMobileNo() { return MobileNo; } public void setMobileNo(String mobileNo) { MobileNo = mobileNo; } public String getEmail() { return Email; } public void setEmail(String email) { Email = email; } public String getStatus() { return Status; } public void setStatus(String status) { Status = status; } public static List<UserMapper> getTestModel(){ List<UserMapper> list = new ArrayList<UserMapper>(); for(int i = 0 ; i < 5; ++i){ UserMapper um = new UserMapper(); um.setUserID("userId"+i); um.setUserName("username"+i); um.setEmail("user"+i+"@mydomain.com"); um.setStatus("ok"); um.setMobileNo("0000-000-00" + i); um.setAddress("xxxx" + i ); um.setDepartment("depart"+i); um.setRole("user"); list.add(um); } return list; } }