Processing...
Suggested case list:
Using timer to refresh a grid
383
guest
172.69.33.121
25nk0ui
May 7, 2020 7:23:47 AM
link
user model to move item to another listbox
120
guest
162.158.193.148
d0n3kr
Apr 2, 2020 5:28:28 AM
link
Disabled list item row passed to VM-1981
296
fatih123
160.83.36.130
25nk0ui
Feb 13, 2018 4:25:44 PM
link
Disabled list item row passed to VM-1981
295
fatih123
160.83.36.130
25nk0ui
Feb 13, 2018 4:25:16 PM
link
Disabled list item row passed to VM-1981
294
fatih123
160.83.36.132
25nk0ui
Feb 13, 2018 3:30:44 PM
link
grid sample with ListModel/RowRenderer
816
guest
80.82.2.131
2vah9aj
Feb 21, 2017 11:42:21 AM
link
grid sample with ListModel/RowRenderer
809
guest
175.98.113.162
2vah9aj
Jan 26, 2017 9:19:33 AM
link
grid sample with ListModel/RowRenderer
196
guest
79.185.142.40
2vah9aj
Apr 26, 2014 10:53:57 PM
link
grid sample with ListModel/RowRenderer
195
guest
79.185.142.40
2vah9aj
Apr 26, 2014 10:53:54 PM
link
grid sample with ListModel/RowRenderer
194
guest
79.185.142.40
2vah9aj
Apr 26, 2014 10:53:51 PM
link
grid sample with ListModel/RowRenderer
193
guest
79.185.142.40
2vah9aj
Apr 26, 2014 10:53:48 PM
link
grid sample with ListModel/RowRenderer
192
guest
79.185.142.40
2vah9aj
Apr 26, 2014 10:53:44 PM
link
grid sample with ListModel/RowRenderer
191
guest
79.185.142.40
2vah9aj
Apr 26, 2014 10:53:40 PM
link
Hierarchy table without using ZK PE/EE
1
aaknai
151.28.135.213
1s871da
Jul 29, 2013 11:02:46 PM
link
grid sample with ListModel/RowRenderer
128
aaknai
151.28.135.213
2vah9aj
Jul 29, 2013 7:20:00 PM
link
user model to move item to another listbox
1
TonyQ
114.25.109.94
d0n3kr
Apr 21, 2012 10:43:27 AM
link
Using timer to refresh a grid
1
TonyQ
220.133.44.37
25nk0ui
Feb 17, 2012 3:17:34 AM
link
Fire a event from child iframe
1
TonyQ
220.133.44.37
2eupjot
Feb 3, 2012 5:04:52 AM
link
Textbox input restriction sample
1
TonyQ
72.21.245.243
1b3nlr0
Dec 20, 2011 10:09:10 AM
link
Test web core taglib in ZUL
1
TonyQ
198.203.175.175
ofqkem
Dec 17, 2011 3:36:08 AM
link
Latest 10 Fiddles :
constraint binding textbox
3
guest
172.68.151.162
20pelda
Dec 5, 2025 5:08:19 PM
link
Another new ZK fiddle
2
guest
172.68.151.163
20pelda
Dec 5, 2025 5:07:51 PM
link
Another new ZK fiddle
1
guest
172.68.151.162
20pelda
Dec 5, 2025 5:07:32 PM
link
Another new ZK fiddle
1
peggypeng
172.71.154.99
364f4ne
Dec 5, 2025 9:24:31 AM
link
tooltip example
2
guest
104.22.23.13
rc1nto
Dec 4, 2025 2:23:45 PM
link
Another new ZK fiddle
1
guest
172.69.134.227
7t7602
Dec 4, 2025 1:40:46 PM
link
Another new ZK fiddle
1
peggypeng
104.22.17.180
2df6e3o
Dec 4, 2025 8:41:29 AM
link
onClose
1
peggypeng
172.68.87.248
j8kd8a
Dec 3, 2025 4:10:26 AM
link
Another new ZK fiddle
1
peggypeng
172.69.134.227
1rm7f4e
Nov 26, 2025 3:31:24 AM
link
ZK-5912-Suggestion
2
rebeccalai
104.22.20.144
2qrmiiu
Nov 26, 2025 2:07:15 AM
link
NonStop SE - Employee Card
22
Jovkub
84.42.156.117
1oqt977
Apr 29, 2016 7:44:04 AM
link
resources
index.zul
zul
<zk> <window title="Layout test" border="normal" position="center" sizable="true" maximizable="true" minimizable="true" closable="false" Height="850px" width="1200px"> <include src="iconResources.zul"/> <include src="body.zul"/> </window> </zk>
TestComposer.java
java
import 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$btn(Event e) throws InterruptedException{ Messagebox.show("Hi btn"); } }
summary.zul
zul
<?xml version="1.0"?> <grid zclass="none" vflex="1"> <columns> <column width="180px" /> <column width="160px" /> <column width="100%" /> </columns> <rows> <row zclass="none"> <cell rowspan="5" align="center"> <include src="photo.zul" /> </cell> <cell colspan="2"> <label value="Alice M. Awsome (Alien)" style="font-size:26px" /> </cell> </row> <row zclass="none"> <cell>Primary Position:</cell> <cell>Consultant</cell> </row> <row zclass="none"> <cell>Primary Org. Unit:</cell> <cell>Alice's Team</cell> </row> <row zclass="none"> <cell>Current Contract Duration:</cell> <cell>1/1/2015 - 31/8/2016</cell> </row> </rows> </grid>
body.zul
zul
<tabbox height="700px" hflex="1" > <tabs> <tab label="Employee Card" /> <tab label="Leaderships" /> <tab id="C" label="Postions" /> <tab id="D" label="Group Memberships" /> <tab id="E" label="Notes" /> </tabs> <tabpanels vflex="1" hflex="1"> <tabpanel hflex="1"> <vlayout hflex="1"> <include src="summary.zul" /> <hlayout hflex="1"> <vlayout hflex="1"> <include src="names.zul" /> <include src="contacts.zul" /> </vlayout> <vlayout hflex="1"> <include src="contractInfo.zul" /> <include src="techInfo.zul" /> </vlayout> </hlayout> </vlayout> </tabpanel> <tabpanel vflex="1" style="overflow-y:auto"> <include src="leadershipsTab.zul" /> </tabpanel> <tabpanel> <include src="postionsTab.zul" /> </tabpanel> <tabpanel> <include src="groupMembershipsTab.zul" /> </tabpanel> <tabpanel> </tabpanel> </tabpanels> </tabbox>
photo.zul
zul
<div> <image height="150px" src="http://livescanfp.com/images/image_6.jpg"/> </div>
contacts.zul
zul
<grid hflex="1"> <columns> <column width="120px"></column> <column hflex="1"></column> </columns> <rows sclass="narrow"> <row> <label value="E-mail" /> <textbox value="
[email protected]
" width="100%" /> </row> <row> <label value="Work Phone" /> <textbox value="+466 562 752 263" width="100%" /> </row> <row> <label value="Mobile Phone" /> <textbox value="+466 562 752 263" width="100%" /> </row> <row> <label value="Extension" /> <textbox value="1533" width="100%" /> </row> </rows> </grid>
names.zul
zul
<grid hflex="1"> <columns> <column width="120px"></column> <column hflex="1"></column> </columns> <rows sclass="narrow"> <row> <label value="First Name" /> <textbox value="Alice" width="100%" /> </row> <row> <label value="Middle Name" /> <textbox value="M." width="100%" /> </row> <row> <label value="Last Name" /> <textbox value="Awsome" width="100%" /> </row> <row> <label value="Nickname" /> <textbox value="Alien" width="100%" /> </row> <row> <label value="Title Name" /> <combobox value="Mrs." width="100%" /> </row> </rows> </grid>
contractInfo.zul
zul
<grid> <columns> <column width="120px"></column> <column hflex="1"></column> <column width="150px"></column> </columns> <rows sclass="narrow"> <row> <cell> <label value="Contract Position" /> </cell> <cell colspan="2"> <textbox value="Consultant" width="100%" /> </cell> </row> <row> <label value="Employer" /> <cell colspan="2"> <textbox value="NonStop Recruitment s.r.o." width="100%" /> </cell> </row> <row> <cell> <label value="FTE" /> </cell> <cell colspan="2"> <textbox value="100%" width="100%" /> </cell> </row> <row> <cell> <label value="Manager" /> </cell> <cell colspan="2"> <combobox value="Leonard Leader" width="100%" /> </cell> </row> <row> <cell> <label value="Employee No." /> </cell> <cell colspan="2"> <combobox value="15663" width="100%" /> </cell> </row> </rows> <foot> <footer span="2">Dispayed values validity: 1/1/2016 - 30/6/2106</footer> <footer align="right"> <button label="Show/Edit History" /> </footer> </foot> </grid>
techInfo.zul
zul
<grid> <columns> <column width="120px"></column> <column hflex="1"></column> </columns> <rows sclass="narrow"> <row> <label value="AD Name" /> <textbox value="awsome" width="100%" /> </row> <row> <label value="AD Status" /> <label value="Active" width="100%" /> </row> <row> <label value="User Status" /> <combobox value="Active" width="100%" /> </row> </rows> </grid>
postionsTab.zul
zul
<grid> <columns> <column width="40px"></column> <column width="140px">Assigned From </column> <column width="140px">Assigned Until</column> <column width="55%">Postition Type</column> <column width="50px">FTE</column> <column width="40%">Org. Unit</column> <column width="40%">Org. Unit Type</column> <column width="100px">Office</column> <column width="60px">Primary</column> <column width="100px">Actions</column> </columns> <rows sclass="narrow"> <row> <image src="${MAN_GRAY_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top">31/5/2015 00:00</cell> <cell align="left" valign="top">Recruiter Trainee</cell> <cell align="left" valign="top">50%</cell> <cell align="left" valign="top">Alice's Team</cell> <cell align="left" valign="top">Sales Team</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">Yes</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_BLACK_24}" /> <cell align="left" valign="top">1/6/2015 00:00</cell> <cell align="left" valign="top">30/6/2016 00:00</cell> <cell align="left" valign="top">Market Builder Trainee</cell> <cell align="left" valign="top">70%</cell> <cell align="left" valign="top">Alice's Team</cell> <cell align="left" valign="top">Sales Team</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">Yes</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_BLACK_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top">31/6/2016 00:00</cell> <cell align="left" valign="top">QA Junior</cell> <cell align="left" valign="top">30%</cell> <cell align="left" valign="top">Quality Assurace</cell> <cell align="left" valign="top">Backoffice Team</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">No</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_GRAY_24}" /> <cell align="left" valign="top">1/7/2016 00:00 </cell> <cell align="left" valign="top">31/8/2016 00:00</cell> <cell align="left" valign="top">QA Junior</cell> <cell align="left" valign="top">10%</cell> <cell align="left" valign="top">Quality Assurace</cell> <cell align="left" valign="top">Backoffice Team</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">No</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_CLOCK_GRAY_24}" /> <cell align="left" valign="top">1/7/2016 00:00 </cell> <cell align="left" valign="top"></cell> <cell align="left" valign="top">Consultant</cell> <cell align="left" valign="top">90%</cell> <cell align="left" valign="top">Alice's Team</cell> <cell align="left" valign="top">Sales Team</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">Yes</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_CLOCK_GRAY_24}" /> <cell align="left" valign="top">1/9/2016 00:00</cell> <cell align="left" valign="top">31/12/2016 00:00</cell> <cell align="left" valign="top">Consultant</cell> <cell align="left" valign="top">10%</cell> <cell align="left" valign="top">Marketing Department</cell> <cell align="left" valign="top">Backoffice Team</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">Yes</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> </rows> <foot> <footer span="6"><checkbox label="Show History"/> <space/><checkbox label="Show Planned Positions"/></footer><footer span="4" align="right"><button label="Add Note" image="http://quan-li-resort.googlecode.com/svn/QLKS/QLKS/Images/addIcon.gif" /></footer> </foot> </grid>
leadershipsTab.zul
zul
<?xml version="1.0"?> <vlayout vflex="1"> <label value="Alice M. Awsome (Alien)" style="font-size:26px" /> <tabbox width="100%" vflex="1" orient="left"> <tabs width="160px"> <tab label="Org. Unit Leaderships" /> <tab label="Org. Unit Leaderships" /> <tab label="Workgroup Leaderships" /> </tabs> <tabpanels vflex="1"> <tabpanel vflex="1"> <grid vflex="1"> <columns> <column width="40px"></column> <column width="100px">Leader From</column> <column width="100px">Leader Until</column> <column width="55%">Org Unit Name</column> <column width="40%">Org. Unit Type</column> <column width="120px">Office</column> <column width="60px">Primary</column> <column width="80px">Actions</column> </columns> <rows sclass="narrow"> <row> <image src="${MAN_GRAY_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top">31/5/2015 00:00</cell> <cell align="left" valign="top">Alice's Team</cell> <cell align="left" valign="top">Sales Team</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">No</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_BLACK_24}" /> <cell align="left" valign="top">1/7/2015 00:00</cell> <cell align="left" valign="top"></cell> <cell align="left" valign="top">Alice's Team</cell> <cell align="left" valign="top">Sales Team</cell> <cell align="left" valign="top">Praha</cell> <cell align="left" valign="top">Yes</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> </rows> <foot> <footer span="4"> <checkbox label="Show History" /> <space /> <checkbox label="Show Planned Leaderships" /> </footer> <footer span="6" align="right"> <button label="Add Leadership" image="${ADD_16}" /> </footer> </foot> </grid> </tabpanel> <tabpanel vflex="1"> <grid vflex="1"> <columns> <column width="40px"></column> <column width="100px">Leader From</column> <column width="100px">Leader Until</column> <column width="55%">Geo. Unit Name</column> <column width="40%">Geo. Unit Type</column> <column width="60px">Primary</column> <column width="80px">Actions</column> </columns> <rows sclass="narrow"> <row> <image src="${MAN_GRAY_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top">31/5/2015 00:00</cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">Office</cell> <cell align="left" valign="top">No</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_BLACK_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top"></cell> <cell align="left" valign="top">Pardubice</cell> <cell align="left" valign="top">Office</cell> <cell align="left" valign="top">No</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_CLOCK_GRAY_24}" /> <cell align="left" valign="top">1/1/2017 00:00</cell> <cell align="left" valign="top"></cell> <cell align="left" valign="top">Hong-Kong</cell> <cell align="left" valign="top">Office</cell> <cell align="left" valign="top">No</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> </rows> <foot> <footer span="4"> <checkbox label="Show History" /> <space /> <checkbox label="Show Planned Leaderships" /> </footer> <footer span="6" align="right"> <button label="Add Leadership" image="${ADD_16}" /> </footer> </foot> </grid > </tabpanel> <tabpanel vflex="1"> <grid vflex="1"> <columns> <column width="40px"></column> <column width="100px">Leader From</column> <column width="100px">Leader Until</column> <column width="100%">Workgroup Name</column> <column width="60px">Primary</column> <column width="80px">Actions</column> </columns> <rows sclass="narrow"> <row> <image src="${MAN_GRAY_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top">31/5/2015 00:00</cell> <cell align="left" valign="top">Cheerleaders</cell> <cell align="left" valign="top">No</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_BLACK_24}" /> <cell align="left" valign="top">1/7/2015 00:00</cell> <cell align="left" valign="top"></cell> <cell align="left" valign="top">Newbies</cell> <cell align="left" valign="top">Yes</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> </rows> <foot> <footer span="3"> <checkbox label="Show History" /> <space /> <checkbox label="Show Planned Leaderships" /> </footer> <footer span="3" align="right"> <button label="Add Leadership" image="${ADD_16}" /> </footer> </foot> </grid> </tabpanel> </tabpanels> </tabbox> </vlayout>
iconResources.zul
zul
<div> <custom-attributes scope="application" RESOURCES_URL="http://www.mtick.net/resources/" TRASH_24="${RESOURCES_URL}icons/Mat/24/ic_trash_can.png" EDIT_24="${RESOURCES_URL}icons/Mat/24/ic_pencil.png" MAN_BLACK_24="${RESOURCES_URL}icons/Mat/24/jk_man_black.png" MAN_GRAY_24="${RESOURCES_URL}icons/Mat/24/jk_man_gray.png" CANCEL_24="${RESOURCES_URL}icons/Mat/24/ic_cancel.png" ADD_24="${RESOURCES_URL}icons/Mat/24/ic_add.png" UP_24="${RESOURCES_URL}icons/Mat/24/ic_arrow_up.png" DOWN_24="${RESOURCES_URL}icons/Mat/24/ic_arrow_down.png" ADD_MAN_24="${RESOURCES_URL}icons/Mat/24/jk_add_user.png" REMOVE_MAN_24="${RESOURCES_URL}icons/Mat/24/jk_remove_user.png" ZOOM_24="${RESOURCES_URL}icons/Mat/24/ic_zoom.png" MAN_CLOCK_GRAY_24="${RESOURCES_URL}icons/Mat/24/jk_clock_user.png" ADD_16="${RESOURCES_URL}icons/Mat/16/jk_add.png" EDIT_164="${RESOURCES_URL}icons/Mat/16/jk_pencil.png" /> </div>
groupMembershipsTab.zul
zul
<grid> <auxhead> <auxheader colspan="4" label="Group memberships" /> </auxhead> <columns> <column width="40px"></column> <column width="140px">Member From</column> <column width="140px">Memeber Until</column> <column width="150px">Role</column> <column width="55%">Org Unit Name</column> <column width="50px">FTE</column> <column width="80px">Actions</column> </columns> <rows sclass="narrow"> <row> <image src="${MAN_GRAY_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top">31/5/2015 00:00</cell> <cell align="left" valign="top">Newbie</cell> <cell align="left" valign="top">Newbie Team</cell> <cell align="left" valign="top">50%</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> <row> <image src="${MAN_BLACK_24}" /> <cell align="left" valign="top">1/1/2015 00:00</cell> <cell align="left" valign="top"></cell> <cell align="left" valign="top">Cheerleader</cell> <cell align="left" valign="top">Cheerleaders</cell> <cell align="left" valign="top">10%</cell> <cell> <hbox> <toolbarbutton image="${EDIT_24}" tooltiptext="Edit Details" /> <toolbarbutton image="${TRASH_24}" tooltiptext="Delete" /> </hbox> </cell> </row> </rows> <foot> <footer span="6"> <checkbox label="Show History" /> <space /> <checkbox label="Show Planned Memberships" /> </footer> <footer span="4" align="right"> <button label="Add Note" image="${ADD_24}" /> </footer> </foot> </grid>
Sorry, JavaScript must be enabled.
Change your browser options, then
try again
.