Änderungen von Dokument Calendar Macro
Zuletzt geändert von Dieter Strasser am 2026/07/02 13:57
Von Version 2.1
bearbeitet von Dieter Strasser
am 2026/07/02 13:57
am 2026/07/02 13:57
Änderungskommentar:
Install extension [org.xwiki.contrib:macro-fullcalendar-ui/2.5.3]
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (15 geändert, 0 hinzugefügt, 5 gelöscht)
- XWiki.WikiMacroClass[0]
- XWiki.WikiMacroParameterClass[0]
- XWiki.WikiMacroParameterClass[1]
- XWiki.WikiMacroParameterClass[2]
- XWiki.WikiMacroParameterClass[3]
- XWiki.WikiMacroParameterClass[4]
- XWiki.WikiMacroParameterClass[5]
- XWiki.WikiMacroParameterClass[6]
- XWiki.WikiMacroParameterClass[7]
- XWiki.WikiMacroParameterClass[8]
- XWiki.WikiMacroParameterClass[9]
- XWiki.WikiMacroParameterClass[10]
- XWiki.WikiMacroParameterClass[11]
- XWiki.WikiMacroParameterClass[12]
- XWiki.WikiMacroParameterClass[13]
- XWiki.WikiMacroParameterClass[14]
- XWiki.WikiMacroParameterClass[15]
- XWiki.WikiMacroParameterClass[16]
- XWiki.WikiMacroParameterClass[17]
- XWiki.WikiMacroParameterClass[18]
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. dieter_strasser1 +XWiki.root - Inhalt
-
... ... @@ -1,10 +1,6 @@ 1 1 Example usage: 2 2 3 3 {{code}} 4 - {{calendar gCal="usa__en@holiday.calendar.google.com" defaultView="agendaWeek" /}} 5 - 6 -or 7 - 8 8 {{calendar classname="Blog.BlogPostClass" startfield="publishDate" editable="false" year="2009" month="5" date="1" /}} 9 9 10 10 or ... ... @@ -17,8 +17,6 @@ 17 17 18 18 {{velocity}} 19 19 20 - {{calendar gCal="usa__en@holiday.calendar.google.com" defaultView="agendaWeek" /}} 21 - 22 22 {{calendar json="${xwiki.getDocument("Calendar.ExampleJSON").getURL("get")}" editable="false" year="2012" month="5" date="18" /}} 23 23 24 24 {{calendar classname="Blog.BlogPostClass" startfield="publishDate" editable="false" year="2009" month="5" date="1" /}}
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -1,6 +1,9 @@ 1 1 {{velocity}} 2 +#set($ok = $services.localization.use('document', 'Calendar.Translations')) 3 +#set($discard = $xwiki.jsx.use("Calendar.JQuery", {'defer': false})) 4 +#set($discard = $xwiki.jsx.use("Calendar.JQueryUI", {'defer': false})) 5 +#set($discard = $xwiki.jsx.use("Calendar.FullCalendar", {'defer': false})) 2 2 #set($discard = $xwiki.ssx.use("Calendar.FullCalendar")) 3 -## 4 4 #if($calcounter) 5 5 #set($calcounter = $calcounter + 1) 6 6 #else ... ... @@ -20,7 +20,7 @@ 20 20 #end 21 21 #set($right = $xcontext.macro.params.right) 22 22 #if(!$right) 23 - #set($right = " agendaDay,agendaWeek,month")26 + #set($right = "month,agendaWeek,agendaDay") 24 24 #end 25 25 #set($timeFormat = $xcontext.macro.params.timeFormat) 26 26 #if(!$timeFormat) ... ... @@ -36,25 +36,15 @@ 36 36 #end 37 37 #set($year = $xcontext.macro.params.year) 38 38 #if(!$year) 39 - #set($year = " ${datetool.year}")42 + #set($year = "") 40 40 #end 41 41 #set($month = $xcontext.macro.params.month) 42 42 #if(!$month) 43 - #set($month = "${mathtool.add($datetool.month, 1)}") 44 - #if ($stringtool.length($month) == 1) 45 - #set($month = "0${month}") 46 - #end 47 -#elseif ($stringtool.length($month) == 1) 48 - #set($month = "0${month}") 46 + #set($month = "") 49 49 #end 50 50 #set($date = $xcontext.macro.params.date) 51 51 #if(!$date) 52 - #set($date = "${datetool.day}") 53 - #if ($stringtool.length($date) == 1) 54 - #set($date = "0${date}") 55 - #end 56 -#elseif ($stringtool.length($date) == 1) 57 - #set($date = "0${date}") 50 + #set($date = "") 58 58 #end 59 59 #set($firstDay = $xcontext.macro.params.firstDay) 60 60 #if(!$firstDay) ... ... @@ -67,201 +67,114 @@ 67 67 #set($minTime = $xcontext.macro.params.minTime) 68 68 #if(!$minTime) 69 69 #set($minTime = "") 70 -#elseif($minTime.indexOf(':') == -1) 71 - #set($minTime = "${minTime}:00") 72 72 #end 73 73 #set($maxTime = $xcontext.macro.params.maxTime) 74 74 #if(!$maxTime) 75 75 #set($maxTime = "") 76 -#elseif($maxTime.indexOf(':') == -1) 77 - #set($maxTime = "${maxTime}:00") 78 78 #end 79 79 #set($editable = $xcontext.macro.params.editable) 80 80 #if(!$editable) 81 81 #set($editable = "false") 82 82 #end 83 -#set($extraFields = $xcontext.macro.params.extraFields) 84 -#set($json = $xwiki.getDocument('Calendar.JSONService').getURL('get')) 85 -#if ($xcontext.macro.params.json) 86 - #set($json = $xcontext.macro.params.json) 72 +#set($json = $xcontext.macro.params.json) 73 +#if(!$json) 74 + #set($json = $xwiki.getDocument("Calendar.JSONService").getURL("get")) 87 87 #end 88 -#set($iCal = $xcontext.macro.params.iCal) 89 -#if ($iCal) 90 - ## The iCal format is serialized as JSON and should be used only when the JSON parameter is not specified. 91 - #set($json = $xwiki.getDocument('Calendar.ICalToJSON').getURL('get', "iCal=$escapetool.url($iCal)")) 92 -#end 93 93 #set($updateurl = $xcontext.macro.params.updateurl) 94 94 #if(!$updateurl) 95 95 #set($updateurl = $xwiki.getDocument("Calendar.UpdateService").getURL("get")) 96 96 #end 97 -#set($gApiKey = $xcontext.macro.params.gApiKey) 98 -#if(!$gApiKey) 99 - #set($gApiKey = 'AIzaSyDedBXsLGUPKGT2SKh1aZXXJZKdpEc8bQU') 100 -#end 101 -#set($gCal = $xcontext.macro.params.gCal) 102 102 {{html clean="false"}} 103 103 <script> 104 -/************************************ 105 - * Configure RequireJS to use jQuery-UI 106 - ************************************/ 107 -require.config({ 108 - paths: { 109 - 'fullcalendar-setup': new XWiki.Document('FullCalendar', 'Calendar').getURL('jsx', 'minify=$!services.debug.minify') 110 - } 111 -}); 112 -require(['fullcalendar-setup'], function() { 113 - require(['jquery', 'jquery-ui', 'fullcalendar', 'gcal'], function ($) { 114 - function updateEvent(page, isResize, delta, allDay, revertFunc) { 115 - // Initialize notification boxes 116 - var savingBox = new XWiki.widgets.Notification("$!services.localization.render('xwiki.calendar.notification.inprogress')", "inprogress", {inactive: true}); 117 - var savedBox = new XWiki.widgets.Notification("$!services.localization.render('xwiki.calendar.notification.done')", "done", {inactive: true}); 118 - var failedBox = new XWiki.widgets.Notification("$!services.localization.render('xwiki.calendar.notification.error')", "error", {inactive: true}); 119 119 120 - // Display loading notification 121 - savingBox.show(); 122 - savedBox.hide(); 123 - failedBox.hide(); 124 - 125 - // Compute days and minutes in order to keep backwards compatibility 126 - var dayDelta = delta._data.days; 127 - var minuteDelta = delta._data.hours * 60 + delta._data.minutes; 128 - 129 - // Let's call the calendar update 130 - var url = '$updateurl'; 131 - url = url + "#if($stringtool.contains($updateurl, "?"))&#{else}?#{end}xpage=plain&outputSyntax=plain&classname=$!{xcontext.macro.params.classname}&startfield=$!{xcontext.macro.params.startfield}&endfield=$!{xcontext.macro.params.endfield}&durationfield=$!{xcontext.macro.params.durationfield}&page=" + page + "&isResize=" + (isResize ? "1" : "0") + "&dayDelta=" + dayDelta + "&minuteDelta=" + minuteDelta + ((allDay) ? "&allDay=1" : ""); 132 - 133 - $.ajax({ url: url }).fail(function(data) { 134 - savingBox.hide(); 135 - failedBox.show(); 136 - revertFunc(); 137 - }).success(function(data) { 138 - if (data.indexOf("OK") == 0) { 139 - savingBox.hide(); 140 - savedBox.show(); 141 - } else { 142 - savingBox.hide(); 143 - failedBox.show(); 144 - revertFunc(); 145 - } 146 - }); 83 +function updateEvent(page,isResize, dayDelta,minuteDelta,allDay,revertFunc) { 84 + var savingBox = new XWiki.widgets.Notification("Saving...", "inprogress", {inactive: true}); 85 + var savedBox = new XWiki.widgets.Notification("Saved", "done", {inactive: true}); 86 + var failedBox = new XWiki.widgets.Notification("Failed to save the document. Reason: <span id=\"ajaxRequestFailureReason\"></span>", "error", {inactive: true}); 87 + savingBox.show(); 88 + savedBox.hide(); 89 + failedBox.hide(); 90 + // let's call the calendar update 91 + var url = '$updateurl'; 92 + url = url + "#if($stringtool.contains($updateurl, "?"))&#{else}?#{end}xpage=plain&outputSyntax=plain&classname=$!{xcontext.macro.params.classname}&startfield=$!{xcontext.macro.params.startfield}&durationfield=$!{xcontext.macro.params.durationfield}&page=" + page + "&isResize=" + (isResize ? "1" : "0") + "&dayDelta=" + dayDelta + "&minuteDelta=" + minuteDelta + ((allDay) ? "&allDay=1" : ""); 93 + // alert(url); 94 + jQuery.ajax({ url: url}).fail(function ( data ) { 95 + savingBox.hide(); 96 + failedBox.show(); 97 + $('ajaxRequestFailureReason').update("update failed"); 98 + revertFunc(); 99 + }).success(function ( data ) { 100 + if (data.indexOf("OK ")==0) { 101 + savingBox.hide(); 102 + savedBox.show(); 103 + // alert("Update success"); 104 + } else { 105 + savingBox.hide(); 106 + failedBox.show(); 107 + $('ajaxRequestFailureReason').update("update failed"); 108 + // alert("Update failed: " + data); 109 + revertFunc(); 110 + } 111 + }); 147 147 } 148 148 149 - var monthNames = $!services.localization.render('xwiki.calendar.monthNames')150 - var monthNamesShort = $!services.localization.render('xwiki.calendar.monthNamesShort');151 - var dayNames = $!services.localization.render('xwiki.calendar.dayNames');152 - var dayNamesShort = $!services.localization.render('xwiki.calendar.dayNamesShort');114 +var monthNames = $!services.localization.render('xwiki.calendar.monthNames') 115 +var monthNamesShort = $!services.localization.render('xwiki.calendar.monthNamesShort'); 116 +var dayNames = $!services.localization.render('xwiki.calendar.dayNames'); 117 +var dayNamesShort = $!services.localization.render('xwiki.calendar.dayNamesShort'); 153 153 154 - function init() { 155 - // The page is now ready, initialize the calendar... 156 - var progressNotification; 157 - $('#calendar${calcounter}').fullCalendar({ 158 - views: { 159 - month : { 160 - columnFormat: "$!services.localization.render('xwiki.calendar.columnFormat.month')", 161 - titleFormat: "$!services.localization.render('xwiki.calendar.titleFormat.month')", 162 - buttonText: "$!services.localization.render('xwiki.calendar.button.month')" 163 - }, 164 - week : { 165 - columnFormat: "$!services.localization.render('xwiki.calendar.columnFormat.week')", 166 - titleFormat: "$!services.localization.render('xwiki.calendar.titleFormat.week')", 167 - buttonText: "$!services.localization.render('xwiki.calendar.button.week')" 168 - }, 169 - day : { 170 - columnFormat: "$!services.localization.render('xwiki.calendar.columnFormat.day')", 171 - titleFormat: "$!services.localization.render('xwiki.calendar.titleFormat.day')", 172 - buttonText: "$!services.localization.render('xwiki.calendar.button.day')" 173 - }, 174 - today: { 175 - buttonText: "$!services.localization.render('xwiki.calendar.button.today')" 176 - } 119 +jQuery(document).ready(function() { 120 + // page is now ready, initialize the calendar... 121 + jQuery('#calendar${calcounter}').fullCalendar({ 122 + columnFormat: { 123 + month: "$!services.localization.render('xwiki.calendar.columnFormat.month')", 124 + week: "$!services.localization.render('xwiki.calendar.columnFormat.week')", 125 + day: "$!services.localization.render('xwiki.calendar.columnFormat.day')" 177 177 }, 127 + titleFormat: { 128 + month: "$!services.localization.render('xwiki.calendar.titleFormat.month')", 129 + week: "$!services.localization.render('xwiki.calendar.titleFormat.week')", 130 + day: "$!services.localization.render('xwiki.calendar.titleFormat.day')" 131 + }, 132 + buttonText: { 133 + today: "$!services.localization.render('xwiki.calendar.button.today')", 134 + day: "$!services.localization.render('xwiki.calendar.button.day')", 135 + week: "$!services.localization.render('xwiki.calendar.button.week')", 136 + month: "$!services.localization.render('xwiki.calendar.button.month')" 137 + }, 178 178 timeFormat : "$!services.localization.render('xwiki.calendar.timeFormat')", 179 179 axisFormat : "$!services.localization.render('xwiki.calendar.axisFormat')", 180 180 allDayText : "$!services.localization.render('xwiki.calendar.allDayText')", 181 - monthNames : monthNames, 182 - monthNamesShort : monthNamesShort, 183 - dayNames : dayNames, 184 - dayNamesShort : dayNamesShort, 185 - googleCalendarApiKey : "$gApiKey", 186 - eventSources: [ 187 - #if($json != $jsonService || "$!xcontext.macro.params.classname" != '') 188 - "${json}#if($stringtool.contains($json, "?"))&#{else}?#{end}xpage=plain&outputSyntax=plain&classname=$!{xcontext.macro.params.classname}&startfield=$!{xcontext.macro.params.startfield}&endfield=$!{xcontext.macro.params.endfield}&durationfield=$!{xcontext.macro.params.durationfield}&extraFields=$!{extraFields}&form_token=$!{services.csrf.token}" 189 - #end 190 - #if($!gCal != '') 191 - , 192 - #set($calendars = $stringtool.split($gCal, ',')) 193 - #foreach($calendar in $calendars) 194 - { googleCalendarId: "$stringtool.strip($calendar)" } 195 - #if($foreach.count < $calendars.size()) 196 - , 197 - #end 198 - #end 199 - #end 200 - ], 141 + monthNames : monthNames, 142 + monthNamesShort :monthNamesShort, 143 + dayNames : dayNames, 144 + dayNamesShort : dayNamesShort, 145 + 146 + events: "${json}#if($stringtool.contains($json, "?"))&#{else}?#{end}xpage=plain&outputSyntax=plain&classname=$!{xcontext.macro.params.classname}&startfield=$!{xcontext.macro.params.startfield}&durationfield=$!{xcontext.macro.params.durationfield}", 201 201 header: { 202 - left : '$left', 203 - center : '$center', 204 - right : '$right' 148 + left: '$left', 149 + center: '$center', 150 + right: '$right' 151 + } 152 + #if($timeFormat!=""), timeFormat: '$timeFormat' #end 153 + #if($defaultView!=""), defaultView: '$defaultView' #end 154 + #if($year!=""), year: $year#end 155 + #if($month!=""), month: $month #end 156 + #if($date!=""), date: $date #end 157 + #if($firstDay!=""), firstDay: $firstDay #end 158 + #if($firstHour!=""), firstHour: $firstHour #end 159 + #if($minTime!=""), minTime: $minTime #end 160 + #if($maxTime!=""), maxTime: $maxTime #end 161 + ,editable: $editable 162 + ,eventDrop: function(event,dayDelta,minuteDelta,allDay,revertFunc) { 163 + updateEvent(event.id, false, dayDelta, minuteDelta, allDay, revertFunc); 205 205 } 206 - #if($timeFormat != ""), timeFormat : '$timeFormat' #end 207 - #if($defaultView != ""), defaultView : '$defaultView' #end 208 - #if($firstDay != ""), firstDay : '$firstDay' #end 209 - #if($firstHour != ""), firstHour : '$firstHour' #end 210 - #if($minTime != ""), minTime : '$minTime' #end 211 - #if($maxTime != ""), maxTime : '$maxTime' #end 212 - ,defaultDate : '${year}-${month}-${date}' 213 - ,editable : $editable 214 - ,eventDrop : function(event, delta, revertFunc) { 215 - updateEvent(event.id, false, delta, event._allDay, revertFunc); 216 - } 217 - ,eventResize : function(event, delta, revertFunc) { 218 - updateEvent(event.id, true, delta, false, revertFunc); 219 - }, 220 - eventRender: function(event, element) { 221 - // Add tooltip on the calendar element. 222 - var tooltip = ''; 223 - if (event.status) { 224 - tooltip = tooltip + "$services.localization.render('xwiki.calendar.event.status') " + event.status + '\n'; 225 - } 226 - if (event.location) { 227 - tooltip = tooltip + "$services.localization.render('xwiki.calendar.event.location') " + event.location + '\n'; 228 - } 229 - if (event.description) { 230 - tooltip = tooltip + "$services.localization.render('xwiki.calendar.event.description') " + event.description; 231 - } 232 - element.attr('title', tooltip); 233 - }, 234 - loading: function( isLoading) { 235 - if (isLoading) { 236 - if (typeof progressNotification === 'undefined') { 237 - progressNotification = new XWiki.widgets.Notification( 238 - "$escapetool.javascript($services.localization.render('xwiki.calendar.notification.loading'))", 'inprogress'); 239 - } else { 240 - var oldNotification = progressNotification; 241 - progressNotification = new XWiki.widgets.Notification( 242 - "$escapetool.javascript($services.localization.render('xwiki.calendar.notification.loading'))", 'inprogress'); 243 - oldNotification.replace(progressNotification); 244 - } 245 - } else { 246 - var oldNotification = progressNotification; 247 - progressNotification = new XWiki.widgets.Notification( 248 - "$escapetool.javascript($services.localization.render('xwiki.calendar.notification.loaded'))", 'done'); 249 - oldNotification.replace(progressNotification); 250 - } 251 - } 252 - }); 253 - } 165 + ,eventResize: function(event,dayDelta,minuteDelta,revertFunc) { 166 + updateEvent(event.id, true, dayDelta, minuteDelta, false, revertFunc); 167 + } 168 + }) 254 254 255 - // Load the calendar in edit mode. 256 - $(window).on('xwiki:dom:updated', function() { 257 - init(); 258 - }); 259 - // Load the calendar in view mode. 260 - $(document).ready(function() { 261 - init(); 262 - }); 263 - }); 264 264 }); 265 265 </script> 266 266 {{/html}} 267 -{{ /velocity}}173 +{{velocity}}
- XWiki.WikiMacroParameterClass[0]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -AIzaSyDedBXsLGUPKGT2SKh1aZXXJZKdpEc8bQU - Parameter-Beschreibung
-
... ... @@ -1,1 +1,19 @@ 1 -Key for the Google Calendar API. 1 +URL to a page generating JSON. Example format: 2 + 3 +[ 4 + { 5 + "id": 111, 6 + "title": "Event1", 7 + "start": "2012-06-10", 8 + "url": "http://yahoo.com/" 9 + }, 10 + { 11 + "id": 222, 12 + "title": "Event2", 13 + "start": "2012-06-20", 14 + "end": "2012-06-22", 15 + "url": "http://yahoo.com/" 16 + } 17 +] 18 + 19 +This is only needed if the JSON generated by the Calendar.JSONService does not fit your needs. The Calendar.JSONService can query events from any class with a date and a duration field (string) - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - gApiKey1 +json
- XWiki.WikiMacroParameterClass[1]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,13 @@ 1 -Google calendar IDs separated by commas. 1 +URL page to update events when they are moved or resized in the Calendar. The following parameters are passed: 2 + 3 +* classname: the classname holding the object (from the classname parameter of the macro) 4 +* startfield: the startdate field where the event start date is stored (from the startfield parameter of the macro) 5 +* durationfield: the duration field where the event duration is stored as a string (from the durationfield parameter of the macro) 6 +* isResize: if the event is resized, otherwise the event start date is moved 7 +* deltaDays: the delta in days of the move or resize 8 +* deltaMinutes: the delta in minutes of the move or resize 9 +* allDay: if the event is moved to be an allDay event 10 + 11 +The default update service handles updating a document holding a specific classname with a start date and a duration field as specified in the macro parameters. 12 + 13 +The editable parameter needs to be set to true for this field to be used. - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - gCal1 +updateurl
- XWiki.WikiMacroParameterClass[2]
-
- Parameter-Beschreibung
-
... ... @@ -1,19 +1,1 @@ 1 -URL to a page generating JSON. Example format: 2 - 3 -[ 4 - { 5 - "id": 111, 6 - "title": "Event1", 7 - "start": "2012-06-10", 8 - "url": "http://yahoo.com/" 9 - }, 10 - { 11 - "id": 222, 12 - "title": "Event2", 13 - "start": "2012-06-20", 14 - "end": "2012-06-22", 15 - "url": "http://yahoo.com/" 16 - } 17 -] 18 - 19 -This is only needed if the JSON generated by the Calendar.JSONService does not fit your needs. The Calendar.JSONService can query events from any class with a date and a duration field (string) 1 +Classname where the event objects are stored. The parameter is necessary unless a JSON service and and Update URL are provided - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - json1 +classname
- XWiki.WikiMacroParameterClass[3]
-
- Parameter-Vorgabe
-
... ... @@ -1,0 +1,1 @@ 1 +datetime - Parameter-Beschreibung
-
... ... @@ -1,13 +1,1 @@ 1 -URL page to update events when they are moved or resized in the Calendar. The following parameters are passed: 2 - 3 -* classname: the classname holding the object (from the classname parameter of the macro) 4 -* startfield: the startdate field where the event start date is stored (from the startfield parameter of the macro) 5 -* durationfield: the duration field where the event duration is stored as a string (from the durationfield parameter of the macro) 6 -* isResize: if the event is resized, otherwise the event start date is moved 7 -* deltaDays: the delta in days of the move or resize 8 -* deltaMinutes: the delta in minutes of the move or resize 9 -* allDay: if the event is moved to be an allDay event 10 - 11 -The default update service handles updating a document holding a specific classname with a start date and a duration field as specified in the macro parameters. 12 - 13 -The editable parameter needs to be set to true for this field to be used. 1 +Field in the object where the start date of the events are stored. The field needs to be a date field. The parameter is necessary unless a JSON service and and Update URL are provided - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - updateurl1 +startfield
- XWiki.WikiMacroParameterClass[4]
-
- Parameter-Vorgabe
-
... ... @@ -1,0 +1,1 @@ 1 +duration - Parameter-Beschreibung
-
... ... @@ -1,1 +1,1 @@ 1 - Classname where the eventobjects are stored. The parameter is necessary unless a JSON service and and Update URL are provided1 +Field in the object where the duration of the events are stored. The field needs to be a date field. The parameter is necessary unless a JSON service and and Update URL are provided - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - classname1 +durationfield
- XWiki.WikiMacroParameterClass[5]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,1 @@ 1 - datetime1 +true - Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Field in the object where the start date of the events are stored. The field needs to be a date field. The parameter is necessary unless a JSON service and and Update URL are provided - Parameter verpflichtend
-
... ... @@ -1,0 +1,1 @@ 1 +Nein - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - startfield1 +editable
- XWiki.WikiMacroParameterClass[6]
-
- Parameter-Vorgabe
-
... ... @@ -1,0 +1,1 @@ 1 +month - Parameter-Beschreibung
-
... ... @@ -1,1 +1,7 @@ 1 -Field in the object where the duration of the events are stored. The field needs to be a date field. The parameter is necessary unless a JSON service and and Update URL are provided 1 +default agenda to show on load of the agenda. Possible values are: 2 + 3 +month 4 +agendaWeek 5 +agendaDay 6 +basicWeek 7 +basicDay - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 -d urationfield1 +defaultView
- XWiki.WikiMacroParameterClass[7]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -true - Parameter-Beschreibung
-
... ... @@ -1,0 +1,2 @@ 1 +Year of the date to show when loading the calendar. Leave empty for today 2 + - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 -e ditable1 +year
- XWiki.WikiMacroParameterClass[8]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -month - Parameter-Beschreibung
-
... ... @@ -1,7 +1,2 @@ 1 - defaultagenda to showon loadofthe agenda.Possiblevaluesare:1 +Month (from 0 to 11) of the date to show when loading the calendar. Leave empty for today 2 2 3 -month 4 -agendaWeek 5 -agendaDay 6 -basicWeek 7 -basicDay - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - defaultView1 +month
- XWiki.WikiMacroParameterClass[9]
-
- Parameter-Beschreibung
-
... ... @@ -1,2 +1,2 @@ 1 - Year of the date to show when loading the calendar. Leave empty for today1 +Day (from 1 to 31) of the date to show when loading the calendar. Leave empty for today 2 2 - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - year1 +date
- XWiki.WikiMacroParameterClass[10]
-
- Parameter-Vorgabe
-
... ... @@ -1,0 +1,1 @@ 1 +1 - Parameter-Beschreibung
-
... ... @@ -1,2 +1,1 @@ 1 -Month (from 0 to 11) of the date to show when loading the calendar. Leave empty for today 2 - 1 +First day (from 0 being Sunday to 6 being Monday) of the week to show in the calendar. Leave empty for Monday - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - month1 +firstDay
- XWiki.WikiMacroParameterClass[11]
-
- Parameter-Beschreibung
-
... ... @@ -1,2 +1,2 @@ 1 - Day (from 1to31)ofthe date to showwhen loadingthe calendar. Leave empty fortoday1 +First hour to show in the calendar. Leave empty for default 2 2 - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - date1 +firstHour
- XWiki.WikiMacroParameterClass[12]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,1 @@ 1 - 11 +8 - Parameter-Beschreibung
-
... ... @@ -1,1 +1,2 @@ 1 -First day (from 0 being Sunday to 6 being Monday) of the week to show in the calendar. Leave empty for Monday 1 +First time to show in the calendar. Users won't see hours before this time. Leave empty for default (8.00) 2 + - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - firstDay1 +minTime
- XWiki.WikiMacroParameterClass[13]
-
- Parameter-Vorgabe
-
... ... @@ -1,0 +1,1 @@ 1 +23 - Parameter-Beschreibung
-
... ... @@ -1,2 +1,2 @@ 1 - Firsthourto show in the calendar. Leave empty for default1 +Last time to show in the calendar. Users won't see hours before this time. Leave empty for default (23.00) 2 2 - Parameter-Name
-
... ... @@ -1,1 +1,1 @@ 1 - firstHour1 +maxTime
- XWiki.WikiMacroParameterClass[14]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -8:00 - Parameter-Beschreibung
-
... ... @@ -1,2 +1,0 @@ 1 -First time to show in the calendar. Users won't see hours before this time. Leave empty for default (8.00) 2 - - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -minTime
- XWiki.WikiMacroParameterClass[15]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -23:00 - Parameter-Beschreibung
-
... ... @@ -1,2 +1,0 @@ 1 -Last time to show in the calendar. Users won't see hours after this time. Leave empty for default (23.00) 2 - - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -maxTime
- XWiki.WikiMacroParameterClass[16]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Field in the object where the end date of the events are stored. The field needs to be a date field. The parameter is necessary unless a JSON service and and Update URL are provided - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -endfield
- XWiki.WikiMacroParameterClass[17]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -The URL to access a calendar in iCal format (.ics file). If this parameter is used, the JSON one should be empty. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -iCal
- XWiki.WikiMacroParameterClass[18]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Provide extra fields to be displayed in the event tooltip. An empty list or a list of exactly 3 values that represent event description, event location and event status, in this order, is expected. - Parameter verpflichtend
-
... ... @@ -1,1 +1,0 @@ 1 -Nein - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -extraFields