Changes for page Get in Touch About Your XWiki Project
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
on 2026/05/02 08:28
Change comment:
There is no comment for this version
To version 13.121
edited by Alex Cotiugă
on 2026/05/02 08:33
on 2026/05/02 08:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,17 @@ 1 +{{velocity wiki="false"}} 2 +#if ($xcontext.action == 'get') 3 +test 4 + #set ($message = '') 5 + #set ($statusCode = 200) 6 + 7 + #set ($statusCode = 400) 8 + #set ($message = 'error') 9 + 10 + #set ($discard = $response.setStatus($statusCode)) 11 + #jsonResponse({'message': $message}) 12 +#end 13 +{{/velocity}} 14 + 1 1 {{velocity}} 2 2 #set ($discard = $xwiki.ssx.use('contact.WebHome')) 3 3 #set ($xobject = $doc.getObject('Agnease.Code.ContactForm.ContactFormClass'))
- XWiki.JavaScriptExtension[0]
-
- code
-
... ... @@ -1,5 +1,5 @@ 1 1 require(['jquery'], function ($) { 2 - var serviceURL = new XWiki.Document('WebHome', 'content').getURL('get', ' xpage=plain');2 + var serviceURL = new XWiki.Document('WebHome', 'content').getURL('get', 'outputSyntax=plain'); 3 3 var form = $('#contactForm'); 4 4 var submitButton = $('#contactSubmit'); 5 5