Last modified by Benjamin Fischer on 2025/07/10 12:57

From version 1.1
edited by Benjamin Fischer
on 2024/11/05 16:22
Change comment: Install extension [org.xwiki.contrib:application-mocca-calendar-ui/2.9.6]
To version 2.1
edited by Benjamin Fischer
on 2025/07/10 12:57
Change comment: Install extension [org.xwiki.contrib:application-mocca-calendar-ui/2.9.10]

Summary

Details

Page properties
Content
... ... @@ -35,7 +35,6 @@
35 35  {{/velocity}}
36 36  {{velocity wiki="false"}}
37 37  #if("$!{request.outputSyntax}" == 'plain')
38 - $response.setContentType('application/json')
39 39   #set($offset = $numbertool.toNumber($request.getParameter('offset')))
40 40   #set($limit = $numbertool.toNumber($request.getParameter('stepSize')))
41 41   #if($limit > 0 && $offset >=0)
... ... @@ -46,7 +46,7 @@
46 46   #else
47 47   #set($result = { 'errorMessage' : 'parameter "offset" or "stepSize" is missing'})
48 48   #end
49 - $jsontool.serialize($result)
48 + #jsonResponse($result)
50 50  #end
51 51  {{/velocity}}
52 52