Last modified by Alex Cotiugă on 2026/05/02 12:23

From version 13.107
edited by Alex Cotiugă
on 2026/05/02 08:28
Change comment: There is no comment for this version
To version 13.114
edited by Alex Cotiugă
on 2026/05/02 08:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,16 @@
1 +{{velocity wiki="false"}}
2 +#if ($xcontext.action == 'get')
3 + #set ($message = '')
4 + #set ($statusCode = 200)
5 +
6 + #set ($statusCode = 400)
7 + #set ($message = 'error')
8 +
9 + #set ($discard = $response.setStatus($statusCode))
10 + #jsonResponse({'message': $message})
11 +#end
12 +{{/velocity}}
13 +
1 1  {{velocity}}
2 2  #set ($discard = $xwiki.ssx.use('contact.WebHome'))
3 3  #set ($xobject = $doc.getObject('Agnease.Code.ContactForm.ContactFormClass'))