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
Another new ZK fiddle
6
guest
84.205.231.41
2mnn96
Nov 13, 2015 9:10:17 AM
link
resources
index.zul
zul
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="./MarketingCalendar"?> <?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?> <zk xmlns:h="http://www.w3.org/1999/xhtml" xmlns:w="http://www.zkoss.org/2005/zk/client"> <window id="MarketingCalendar" width="100%" height="100%" use="pkg$.TestWindow" contentStyle="overflow:auto"> <borderlayout height="100%"> <north height="70px" border="none"> <div height="100%" width ="100%"> <h:a href="MarketingPlanner.zul"> <div width="40px" height="50px" sclass="gvmp_calendar_active"></div> </h:a> <h:a href="MarketingPlannerList.zul"> <div width="40px" height="50px" sclass="gvmp_list"></div> </h:a> <div width="8px" height="40px" sclass="gvmp_border_left"></div> <div height="32px" sclass="gvmp_view_div"> <combobox id="comboGvmpViews" width="320px" readonly="true" sclass="gvmp_view_combobox"> </combobox> </div> </div> </north> <south height="16px" border="none"></south> <center title="${c:l('mp.activity_overview')}"> <div height="100%" style="padding-left:10px; padding-right:10px;"> <borderlayout height="100%" id="calendarContent"> <!-- north und south für Abstand eingefügt --> <north border="none" height="9px"></north> <south border="none" height="10px"></south> <west width="410px" sclass="ds-west-marketingplanner" id="treeArea" visible="true" collapsible="true" splittable="true"> <borderlayout height="100%" style="border:0px;"> <north flex="true" height="88px" border="none"> <div width="390px" height="48px"> <menubar id="menubar" sclass="ds-menubar-mc ds-menubar-icon" height="30px"> <menuitem id="activityMenuNewCampaign" onClick="MarketingCalendar.openPopup()" tooltiptext="${c:l('mp.activity.menubar_activitySet_new')}" image="/images/marketingcalendar/project/add_project.png" /> </menubar> <div width="100%" height="16px" sclass="ds-filter-info"> <div width="400px" height="16px"> <label id="currentFilterDescriptionBox" sclass="ds-filter-info-label"> </label> </div> </div> <div width="100%" height="22px" sclass="ds-div-quick-filter"> <hbox> <menubar sclass="ds-quick-filter-menubar ds-menubar-icon"> <menuitem image="/images/filter/funnel_16x16.png" tooltiptext="${c:l('mp.filters.label_apply_filters')}" /> </menubar> <combobox id="quickFilter" sclass="ds-combobox-mc" width="200px" buttonVisible="false" autodrop="true" cols="10" /> </hbox> </div> </div> </north> <!-- Tree --> <center flex="true" border="none"> <div height="100%"> <tree id="explorerTree" mold="paging" pageSize="150" checkmark="true" width="100%" sizedByContent="false" height="100%" visible="true" zclass="z-tree" sclass="ds-mc-tree" nonselectableTags="*"> <!-- vflex="true" PE-362--> <!-- PE-866 replace sizedByContent="false" with fixedLayout="false" --> <treecols id="treeCols" sizable="true" width="100%"> <treecol id="treeHeaderName" width="200px" style="padding-top:0px;padding-bottom:0px; min-width:70px;"> <checkbox id="selectAllCheckbox" tooltiptext="${c:l('mp.filters.label.choose_all')}"/> <label value="${c:l('mp.filters.label_name')}" style="padding-left:11px;font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; line-height:19px;"/> </treecol> <treecol id="treeHeaderDate" label="${c:l('mp.filters.label_date')}" width="85px" style="padding-top:0px;padding-bottom:0px;"/> <treecol id="treeHeaderKind" label="${c:l('mp.filters.label_type')}" width="30px" style="padding-top:0px;padding-bottom:0px;"/> </treecols> </tree> <div id="applyFilterPlaceholder" style="text-align:center; padding: 0px;"> </div> <div id="noResultPlaceholder" style="text-align:center; padding: 20px 35px;"> <label value="${c:l('mp.filters.label_filter_no_result') }" /> </div> </div> </center> <south id="south_tree" height="150px" border="none" visible="false" sclass="gvmp-tree-south" title="${c:l('mp.other_activity_overview')}" collapsible="true"> <borderlayout height="100%" width="100%"> <west width="100%" sclass="ds-west-marketingplanner" id="treeAreaSouth" visible="true"> <tree id="explorerTree2" width="100%" checkmark="true" sizedByContent="false" nonselectableTags="*" height="100%" visible="true" zclass="z-tree" vflex="true" sclass="ds-mc-tree"> <treecols id="treeCols2" sizable="true" width="100%"> <treecol id="treeHeaderName2" width="200px" style="padding-top:0px;padding-bottom:0px; min-width:70px;" /> <treecol id="treeHeaderDate2" width="85px" style="padding-top:0px;padding-bottom:0px;" /> <treecol id="treeHeaderKind2" width="30px" style="padding-top:0px;padding-bottom:0px;" /> </treecols> </tree> </west> </borderlayout> </south> </borderlayout> </west> <center sclass="ds-center-marketingplanner"> <borderlayout id="center_eventline"> <north border="none" sclass="ds-center-north-marketingplanner"> <div height="100%"> <div width="100%" height="16px" sclass="gvmp_blank"> </div> </div> </north> <center border="none"> </center> <south id="south_eventline" height="150px" sclass="gvmp-eventline-south" border="none" visible="false" title="${c:l('mp.other_activity_overview')}" collapsible="true"> <borderlayout height="100%" width="100%"> <center border="none"> </center> </borderlayout> </south> </borderlayout> </center> </borderlayout> </div> </center> </borderlayout> </window> </zk>
TestWindow.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 TestWindow extends Window{ public void openPopup() { Executions.createComponents("Popup.zul", this, null); } }
Popup.zul
zul
<?page title="ManageActivity" contentType="text/html;charset=UTF-8"?> <!-- - Copyright (c) 2009 - doubleSlash Net-Business GmbH, http://www.doubleSlash.de - - version: $Id: ManageActivity.zul 604 2012-02-15 17:12:20Z jkreutzfeld $ - - author:
[email protected]
--> <zk xmlns:h="http://www.w3.org/1999/xhtml" xmlns:zk="http://www.zkoss.org/2005/zk"> <window id="manageActivity" border="normal" closable="true" sclass="ds-popup-window" width="500px" height="" sizable="false" > <div sclass="dsPopupContent"> <tabbox id="tabbox" tabscroll="false"> <tabs> <tab id="tabProperties" label="${c:l('mp.activity.properties')}" selected="true" /> <tab id="tabRegions" visible="true" label="${c:l('mp.campaign.regions')}" /> </tabs> <tabpanels> <tabpanel sclass="ds-table-tabpanel-master-data"> <!-- Master Data --> <tablelayout columns="1" width="100%"> <tablechildren sclass="dsHighlight"> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" value="${c:l('mp.campaign.project')}" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <hlayout> <combobox readonly="true" id="comboProject" width="242px" /> </hlayout> </panelchildren> </panel> </tablechildren> <tablechildren sclass="dsHighlight"> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" value="${c:l('mp.filters.label_appointment_type')}" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <vlayout> <hlayout> <combobox width="242px" constraint="no empty" readonly="true" id="comboAppointmentType" onSelect="activityDateTo.clearErrorMessage(true)" /> </hlayout> <hlayout> <combobox width="242px" constraint="no empty" visible="false" readonly="true" id="comboAppointmentType2" /> </hlayout> </vlayout> </panelchildren> </panel> </tablechildren> <tablechildren sclass="dsHighlight"> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" value="${manageActivity.activityLabel}" /> <label sclass="nameLanguageLabel nameLanguageLabelTop" value="DE" /> <label sclass="nameLanguageLabel" value="EN" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <vlayout> <hlayout> <textbox id="activityNameTextboxDE" width="240px" disabled="${readonly}" maxlength="200" sclass="textbox-german" value="@{manageActivity.nameDe}" constraint="${manageActivity.noEmptySpecialCharConstraint}" /> </hlayout> <hlayout> <textbox id="activityNameTextboxEN" width="240px" disabled="${readonly}" maxlength="200" sclass="textbox-english" value="@{manageActivity.nameEn}" constraint="${manageActivity.noEmptySpecialCharConstraint}" /> </hlayout> </vlayout> </panelchildren> </panel> </tablechildren> <tablechildren sclass="dsHighlight"> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" value="${c:l('application.authorization_level')}" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <hlayout> <combobox width="242px" readonly="true" disabled="${readonly}" id="comboAuthorizationLevel" /> </hlayout> </panelchildren> </panel> </tablechildren> <tablechildren sclass="dsHighlight"> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" visible="@{manageActivity.otherAppointmentType, load-when='comboAppointmentType.onSelect'}" value="${c:l('mp.activity.start')}" /> <label sclass="ds-label-bold" visible="@{manageActivity.normalAppointmentType, load-when='comboAppointmentType.onSelect'}" value="${c:l('mp.activity.date')}" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <hlayout> <datebox id="activityDateFrom" disabled="${readonly}" value="@{manageActivity.startDate}" constraint="${manageActivity.noEmptyConstraintForDate}" /> </hlayout> </panelchildren> </panel> </tablechildren> <tablechildren sclass="dsHighlight" visible="@{manageActivity.otherAppointmentType, load-when='comboAppointmentType.onSelect'}" id="activityDateToTable"> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" id="activityDateToLabel" value="${c:l('mp.activity.end')}" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <hlayout> <datebox id="activityDateTo" disabled="${readonly}" value="@{manageActivity.endDate}" constraint="@{manageActivity.validDateConstraint, load-when='comboAppointmentType.onSelect'}" /> </hlayout> </panelchildren> </panel> </tablechildren> <tablechildren sclass="dsHighlight"> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" value="${c:l('mp.filters.label_status')}" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <hlayout> <combobox readonly="true" width="242px" disabled="true" id="comboStatus" /> </hlayout> </panelchildren> </panel> </tablechildren> <tablechildren> <panel> <panelchildren> <separator bar="true" /> </panelchildren> </panel> </tablechildren> <tablechildren> <panel sclass="ds-label-panel" width="160px" style="float:left;"> <panelchildren> <label sclass="ds-label-bold" value="${c:l('mp.activity.description')}" /> </panelchildren> </panel> <panel width="270px"> <panelchildren> <!-- overflow: auto is required because otherwise scroll bar shows in IE 8 --> <textbox rows="3" width="240px" style="padding: 2px; max-width:246px; overflow: auto;" disabled="${readonly}" value="@{manageActivity.description}" maxlength="2000" /> </panelchildren> </panel> </tablechildren> </tablelayout> <panel height="18px" style="padding-top:5px;"> <panelchildren> <image sclass="ds-mandatory-image" src="/images/mandatory.png" /> <label sclass="ds-mandatory-notice" value="${c:l('application.mandatory_fields_marked') }" /> </panelchildren> </panel> </tabpanel> <tabpanel sclass="ds-table-tabpanel"> <!-- Markets --> <tablelayout columns="1" width="460px"> <tablechildren> <panel sclass="ds-activity-panel" width="450px" border="none" style="border:0;"> <panelchildren> <tree id="explorerTreeRegions" zclass="z-tree" checkmark="true" multiple="true" sclass="ds-disable-seld-highlight" fixedLayout="true" height="285px"> <treecols sizable="false"> <treecol label="" /> </treecols> </tree> </panelchildren> </panel> <panel height="20px"> <panelchildren> <image sclass="ds-mandatory-image" src="/images/mandatory.png" /> <label sclass="ds-mandatory-notice" value="${c:l('application.mandatory_fields_marked') }" /> </panelchildren> </panel> </tablechildren> </tablelayout> </tabpanel> </tabpanels> </tabbox> <div sclass="dsToolbarBorder"> <toolbar mold="panel" align="end" id="bottomToolBar"> <button id="saveButton" disabled="true" unless="${readonly}" label="${c:l('mp.activity.save')}" image="/images/save_16x16.png" onClick="manageActivity.onSave()" autodisable="self,cancelButton" /> <button label="${c:l('mp.activity.cancel')}" disabled="true" id="cancelButton" image="/images/cancel_16x16.png" onClick="manageActivity.onCancel()" autodisable="self,saveButton" /> </toolbar> </div> </div> </window> </zk>
Sorry, JavaScript must be enabled.
Change your browser options, then
try again
.