From 57f477fca1badc834577b4ba3d003631e8a22bf7 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期二, 28 五月 2024 13:58:36 +0800
Subject: [PATCH] 暂存
---
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelExport.def | 25 ++
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnSelectionChanged.def | 32 +++
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelDate.def | 35 +++
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_lstSubscribers.def | 61 ++++++
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelPeriods.def | 28 +++
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_cmSubscribers.def | 24 ++
/dev/null | 10 -
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnCheckedChanged.def | 20 ++
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarEventTypes.def | 2
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelHeader.def | 7
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_OnCreated.def | 17 +
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarSearchList.def | 3
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_pnlSubscribers#549.def | 60 ++++++
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuCapacities_MenuCapacitiesUnavailableEvent_O.def | 16 +
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_abpListSubscribers.def | 10 +
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def | 36 ++++
_Main/UI/MacroPlannerWebApp/Views/Calendar_unavailable_event_view.vw | 83 +++++++++
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def | 10 +
_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_mnDelete_OnClick.def | 26 ++
19 files changed, 494 insertions(+), 11 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuCapacities_MenuCapacitiesUnavailableEvent_O.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuCapacities_MenuCapacitiesUnavailableEvent_O.def
new file mode 100644
index 0000000..b7ac572
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuCapacities_MenuCapacitiesUnavailableEvent_O.def
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#parent: ContextMenuCapacities/MenuCapacitiesUnavailableEvent
+Response OnClick () id:Response_MacroPlanner_ContextMenuCapacities_MenuCapacitiesUnavailableEvent_OnClick
+{
+ #keys: '[415136.0.667550585]'
+ CanBindMultiple: false
+ DefinitionID: 'Responsedef_WebMenu_OnClick'
+ QuillAction
+ {
+ Body:
+ [*
+ ApplicationScope.ViewManager().ResetUserViewById( "Calendar_unavailable_event_view", true);
+ *]
+ GroupServerCalls: false
+ }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def
index 9db7b49..3e7a868 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def
@@ -174,5 +174,15 @@
Taborder: 51
]
}
+ Component dhCalendarUse
+ {
+ #keys: '[415136.0.667561067]'
+ BaseType: 'WebDataHolder'
+ Databinding: 'LibCal_Calendar'
+ Properties:
+ [
+ Taborder: 56
+ ]
+ }
]
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarEventTypes.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarEventTypes.def
index 506d63d..dfbdbdc 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarEventTypes.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarEventTypes.def
@@ -5,6 +5,8 @@
BaseType: 'WebPanel'
Properties:
[
+ FixedSize: true
+ MinimumColumns: 39
Taborder: 1
]
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarLineList.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarLineList.def
deleted file mode 100644
index c7e0337..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarLineList.def
+++ /dev/null
@@ -1,10 +0,0 @@
-Quintiq file version 2.0
-Component PanelCalendarLineList
-{
- #keys: '[415136.0.658772834]'
- BaseType: 'WebPanel'
- Properties:
- [
- Taborder: 0
- ]
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarSearchList.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarSearchList.def
index bdaa56e..d4f8734 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarSearchList.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelCalendarSearchList.def
@@ -5,11 +5,12 @@
BaseType: 'WebPanel'
Children:
[
- #child: PanelCalendarLineList
#child: PanelCalendarEventTypes
+ #child: pnlSubscribers_549
]
Properties:
[
+ FixedSize: true
Orientation: 'horizontal'
Taborder: 0
]
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelDate.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelDate.def
new file mode 100644
index 0000000..34f400d
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelDate.def
@@ -0,0 +1,35 @@
+Quintiq file version 2.0
+Component PanelDate
+{
+ #keys: '[415136.0.668311160]'
+ BaseType: 'WebPanel'
+ Children:
+ [
+ Component DateSelectorStartTime id:DateSelectorStartTime_806
+ {
+ #keys: '[415136.0.668311203]'
+ BaseType: 'WebDateSelector'
+ Properties:
+ [
+ Label: 'Start time'
+ Taborder: 0
+ ]
+ }
+ Component DateSelectorEndTime id:DateSelectorEndTime_819
+ {
+ #keys: '[415136.0.668311223]'
+ BaseType: 'WebDateSelector'
+ Properties:
+ [
+ Label: 'End time'
+ Taborder: 1
+ ]
+ }
+ ]
+ Properties:
+ [
+ FixedSize: true
+ Orientation: 'horizontal'
+ Taborder: 0
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelExport.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelExport.def
new file mode 100644
index 0000000..b8f9ab3
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelExport.def
@@ -0,0 +1,25 @@
+Quintiq file version 2.0
+Component PanelExport
+{
+ #keys: '[415136.0.668311240]'
+ BaseType: 'WebPanel'
+ Children:
+ [
+ Component ButtonHeader id:ButtonHeader_763
+ {
+ #keys: '[415136.0.668311275]'
+ BaseType: 'WebButton'
+ Properties:
+ [
+ Image: 'EXPORT1'
+ Taborder: 0
+ ]
+ }
+ ]
+ Properties:
+ [
+ FixedSize: true
+ Orientation: 'horizontal'
+ Taborder: 2
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelHeader.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelHeader.def
index 862e4b3..8e47e62 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelHeader.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelHeader.def
@@ -3,8 +3,15 @@
{
#keys: '[415136.0.658772785]'
BaseType: 'WebPanel'
+ Children:
+ [
+ #child: PanelPeriods
+ #child: PanelDate
+ #child: PanelExport
+ ]
Properties:
[
+ FixedSize: true
Orientation: 'horizontal'
Taborder: 0
]
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelPeriods.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelPeriods.def
new file mode 100644
index 0000000..a43805b
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_PanelPeriods.def
@@ -0,0 +1,28 @@
+Quintiq file version 2.0
+Component PanelPeriods
+{
+ #keys: '[415136.0.667550798]'
+ BaseType: 'WebPanel'
+ Children:
+ [
+ Component RadioButtonGroupUseForPlanning
+ {
+ #keys: '[415136.0.667550833]'
+ BaseType: 'WebRadioButtonGroup'
+ Properties:
+ [
+ ButtonLabels: 'Day;Week;Month'
+ ButtonValues: 'true;false'
+ Orientation: 'horizontal'
+ Taborder: 0
+ Title: 'Periods'
+ Tooltip: '<html>Select if the periods are used for planning or merely for visualization.<br>The planning periods define the granularity at which planning is done.<br>In case of overlapping planning periods, the smallest ones are used.<br>The planning periods are shown in the period overview in blue.</html>'
+ ]
+ }
+ ]
+ Properties:
+ [
+ Orientation: 'horizontal'
+ Taborder: 1
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_abpListSubscribers.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_abpListSubscribers.def
new file mode 100644
index 0000000..255f2ff
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_abpListSubscribers.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component abpListSubscribers
+{
+ #keys: '[415136.0.666211731]'
+ BaseType: 'listActionBarPage'
+ Properties:
+ [
+ Taborder: 2
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_cmSubscribers.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_cmSubscribers.def
new file mode 100644
index 0000000..d4f0c9a
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_cmSubscribers.def
@@ -0,0 +1,24 @@
+Quintiq file version 2.0
+Component cmSubscribers
+{
+ #keys: '[415136.0.666211729]'
+ BaseType: 'listContextMenu'
+ Children:
+ [
+ Component mnDelete
+ {
+ #keys: '[415136.0.666211730]'
+ BaseType: 'WebMenu'
+ Properties:
+ [
+ Image: 'DELETE'
+ Taborder: 3
+ Title: 'Delete'
+ ]
+ }
+ ]
+ Properties:
+ [
+ Taborder: 0
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_lstSubscribers.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_lstSubscribers.def
new file mode 100644
index 0000000..dc36b26
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_lstSubscribers.def
@@ -0,0 +1,61 @@
+Quintiq file version 2.0
+Component lstSubscribers
+{
+ #keys: '[415136.0.666211726]'
+ BaseType: 'WebList'
+ Children:
+ [
+ Component deSubscribers
+ {
+ #keys: '[415136.0.666211727]'
+ BaseType: 'WebDataExtractor'
+ Properties:
+ [
+ DataType: 'structured[LibCal_Calendar]'
+ Source: 'dhPotentialSubscribers'
+ Taborder: 0
+ Transformation: 'Elements'
+ ]
+ }
+ Component dslSubscribers
+ {
+ #keys: '[415136.0.666211728]'
+ BaseType: 'WebDataSetLevel'
+ Children:
+ [
+ #child: cmSubscribers
+ ]
+ Properties:
+ [
+ Columns: 'CalendarID'
+ ContextMenu: 'cmSubscribers'
+ SortCriteria: 'CalendarID'
+ Taborder: 1
+ ]
+ }
+ #child: abpListSubscribers
+ ]
+ Properties:
+ [
+ SelectionCheckboxes: true
+ Taborder: 4
+ ]
+ ResponseDefinitions:
+ [
+ DelegatedResponseDefinition OnClick id:Responsedef_lstSubscribers_WebMenu_OnClick
+ {
+ #keys: '[415136.0.666211718]'
+ Initiator: 'WebMenu'
+ IsInherited: false
+ ResponseType: 'OnClick'
+ Arguments:
+ [
+ ResponseDefinitionArgument selection
+ {
+ #keys: '[3739.0.1873455]'
+ Binding: 'this.Selection()'
+ }
+ ]
+ }
+ ]
+}
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_pnlSubscribers\043549.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_pnlSubscribers\043549.def"
new file mode 100644
index 0000000..84acbc1
--- /dev/null
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Component_pnlSubscribers\043549.def"
@@ -0,0 +1,60 @@
+Quintiq file version 2.0
+Component pnlSubscribers id:pnlSubscribers_549
+{
+ #keys: '[415136.0.666211724]'
+ BaseType: 'WebPanel'
+ Children:
+ [
+ Component dhPotentialSubscribers
+ {
+ #keys: '[415136.0.666211725]'
+ BaseType: 'WebDataHolder'
+ Databinding: 'structured[LibCal_Calendar]*'
+ Properties:
+ [
+ Taborder: 0
+ ]
+ }
+ #child: lstSubscribers
+ Component lblInfo
+ {
+ #keys: '[415136.0.666211732]'
+ BaseType: 'WebLabel'
+ Properties:
+ [
+ ShowLabel: false
+ Taborder: 3
+ Text: 'Calendars that are subscribing to this event.'
+ ]
+ }
+ Component lblIsInitialized
+ {
+ #keys: '[415136.0.666211733]'
+ BaseType: 'WebLabel'
+ Properties:
+ [
+ Taborder: 2
+ Text: 'false'
+ Visible: false
+ ]
+ }
+ Component dhSubscribers
+ {
+ #keys: '[415136.0.666211734]'
+ BaseType: 'WebDataHolder'
+ Databinding: 'structured[LibCal_Calendar]*'
+ Properties:
+ [
+ Taborder: 1
+ ]
+ }
+ ]
+ Properties:
+ [
+ Border: true
+ FixedSize: true
+ MinimumColumns: 39
+ Taborder: 0
+ Title: 'Subscribers'
+ ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def
new file mode 100644
index 0000000..a18726d
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Method_InitializeSubscribers.def
@@ -0,0 +1,36 @@
+Quintiq file version 2.0
+#parent: #root
+Method InitializeSubscribers () id:Method_FormCalendarUnavailableEvent_InitializeSubscribers
+{
+ #keys: '[415136.0.666291565]'
+ Body:
+ [*
+ owner_i := dhCalendarUse.Data();
+ category_i := selectobject( owner_i,CalendarRegistry.EventCategory, category, category.Name() = 'Unavaliable' );
+ info( '-------------------------------', isnull( owner_i ), isnull( category_i ) );
+ sEvent := owner_i.Event( relshadow,
+ EventID := [String]Key::NextPersistentKey(),
+ // StartTimeOfDay := start_i.TimeOfDay( timezone ),
+ // EndTimeOfDay := end_i .TimeOfDay( timezone ),
+ EventCategory := category_i,
+ IsDefault := owner_i.istype( LibCal_CommonCalendar ) );
+
+ sLeadPart := owner_i.Participation( relshadow, LibCal_LeadingParticipation,
+ ParticipationID := [String]Key::NextPersistentKey()
+ // ,StartDate := start_i.Date( timezone ),
+ // EndDate := end_i .Date( timezone )
+ );
+
+ calendar := sLeadPart.Calendar();
+ potentialSubscribers := calendar.GetPotentialSubscribers();
+
+ // Remove the calendar of the initiator (cannot subscribe to self).
+ initiator := sEvent.Calendar();
+ if( potentialSubscribers.Find( initiator ) >= 0 )
+ {
+ potentialSubscribers.Remove( initiator );
+ }
+
+ dhPotentialSubscribers.Data( &potentialSubscribers );
+ *]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_OnCreated.def
new file mode 100644
index 0000000..04b4ca1
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_OnCreated.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: #root
+Response OnCreated () id:Response_FormCalendarUnavailableEvent_OnCreated
+{
+ #keys: '[415136.0.667561809]'
+ CanBindMultiple: false
+ DefinitionID: 'Responsedef_WebComponent_OnCreated'
+ QuillAction
+ {
+ Body:
+ [*
+
+ this.InitializeSubscribers();
+ *]
+ GroupServerCalls: false
+ }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnCheckedChanged.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnCheckedChanged.def
new file mode 100644
index 0000000..24264e2
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnCheckedChanged.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: lstSubscribers
+Response OnCheckedChanged (
+ structured[LibCal_Calendar] checkeditems
+) id:Response_lstSubscribers_OnCheckedChanged
+{
+ #keys: '[415136.0.666211720]'
+ CanBindMultiple: false
+ DefinitionID: 'Responsedef_WebList_OnCheckedChanged'
+ QuillAction
+ {
+ Body:
+ [*
+ subscribers := checkeditems.Copy();
+
+ dhSubscribers.Data( &subscribers );
+ *]
+ GroupServerCalls: false
+ }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnSelectionChanged.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnSelectionChanged.def
new file mode 100644
index 0000000..b5a2634
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_OnSelectionChanged.def
@@ -0,0 +1,32 @@
+Quintiq file version 2.0
+#parent: lstSubscribers
+Response OnSelectionChanged (
+ LibCal_Calendar selection
+) id:Response_lstSubscribers_OnSelectionChanged
+{
+ #keys: '[415136.0.666211719]'
+ CanBindMultiple: false
+ DefinitionID: 'Responsedef_WebList_OnSelectionChanged'
+ QuillAction
+ {
+ Body:
+ [*
+ // Initialize the list by setting the checkmark for the subscribing calendars when this has not been done before.
+ // This should only be done when OnSelectionChanged is executed for the first time.
+ //if( lblIsInitialized.Text() = "false" )
+ //{
+ // // Get the calendars of the subscriptions.
+ // calendars := selectset( dhEvent.Data(), LeadingParticipation.Subscription.Calendar, calendar, true, true ).Unique();
+ //
+ // traverse( calendars, Elements, subscriber )
+ // {
+ // lstSubscribers.ExtendCheckByKey( subscriber.Key() );
+ // }
+ //
+ // // Register that the list has been initialized.
+ // lblIsInitialized.Text( "true" );
+ //}
+ *]
+ GroupServerCalls: false
+ }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_mnDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_mnDelete_OnClick.def
new file mode 100644
index 0000000..5849adc
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCalendarUnavailableEvent/Response_lstSubscribers_mnDelete_OnClick.def
@@ -0,0 +1,26 @@
+Quintiq file version 2.0
+#parent: lstSubscribers
+Response OnClick (
+ structured[LibCal_Subscription] selection
+) id:Response_lstSubscribers_mnDelete_OnClick
+{
+ #keys: '[415136.0.666211722]'
+ CanBindMultiple: false
+ DefinitionID => /lstSubscribers/Responsedef_lstSubscribers_WebMenu_OnClick
+ Initiator: 'mnDelete'
+ QuillAction
+ {
+ Body:
+ [*
+ traverse( selection, Elements, e ){
+ leadingP := e.LeadingParticipation();
+ if( leadingP.Subscription( relsize ) > 0 ){
+ leadingP.Event().Delete();
+ leadingP.Delete();
+ }
+ e.Delete();
+ }
+ *]
+ GroupServerCalls: false
+ }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Views/Calendar_unavailable_event_view.vw b/_Main/UI/MacroPlannerWebApp/Views/Calendar_unavailable_event_view.vw
new file mode 100644
index 0000000..b87868f
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Views/Calendar_unavailable_event_view.vw
@@ -0,0 +1,83 @@
+Quintiq file version 2.0
+{
+ viewcontents
+ {
+ forms
+ {
+ form_FormCalendarUnavailableEvent
+ {
+ title: 'QMacroPlanner::FormCalendarUnavailableEvent'
+ shown: true
+ componentID: 'QMacroPlanner::FormCalendarUnavailableEvent'
+ layout
+ {
+ mode: 'open'
+ rowPosition: 1
+ rowSpan: 16
+ columnPosition: 1
+ columnSpan: 12
+ }
+ components
+ {
+ FormCalendarUnavailableEvent_PanelCalendarUnavailableEvent
+ {
+ sizeRatio: 1
+ }
+ FormCalendarUnavailableEvent_PanelCalendarSearchList
+ {
+ sizeRatio: 1
+ }
+ FormCalendarUnavailableEvent_pnlSubscribers
+ {
+ sizeRatio: 1
+ }
+ FormCalendarUnavailableEvent_lstSubscribers
+ {
+ }
+ FormCalendarUnavailableEvent_dslSubscribers
+ {
+ groupDepth: -1
+ column_CalendarID
+ {
+ columnId: 'CalendarID'
+ dataPath: 'CalendarID'
+ dataType: 'string'
+ index: 0
+ subtotals: ''
+ width: 150
+ }
+ }
+ FormCalendarUnavailableEvent_PanelCalendarEventTypes
+ {
+ sizeRatio: 1
+ }
+ FormCalendarUnavailableEvent_PanelCalendarUnavailableEventSearchList
+ {
+ sizeRatio: 1
+ }
+ FormCalendarUnavailableEvent_PanelHeader
+ {
+ sizeRatio: 1
+ }
+ FormCalendarUnavailableEvent_PanelList
+ {
+ sizeRatio: 1
+ }
+ }
+ }
+ }
+ userconfigurableinformation
+ {
+ }
+ page: ''
+ group: ''
+ index: 13
+ image: 'CALENDAR_PREFERENCES'
+ description: ''
+ }
+ formatversion: 2
+ id: 'Calendar_unavailable_event_view'
+ name: 'Calendar unavailable event view'
+ isglobal: false
+ isroot: true
+}
--
Gitblit v1.9.3