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

6guest84.205.231.412mnn96Nov 13, 2015 9:10:17 AMlink

resources

index.zulzul<?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.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.*; public class TestWindow extends Window{ public void openPopup() { Executions.createComponents("Popup.zul", this, null); } } Popup.zulzul<?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>