Version 13.153 by Alex Cotiugă on 2026/05/02 08:58

Show last authors
1 {{velocity wiki="false"}}
2 #if ($xcontext.action == 'get')
3 #set ($message = '')
4 #set ($contactFormEntryDoc = $xwiki.getDocument('ContactFormEntries' + $java.util.UUID.randomUUID()))
5 #set ($statusCode = 200)
6
7 #foreach ($parameterName in $request.parameterNames)
8 #set ($message = "$message $parameterName")
9 #end
10
11 ##set ($statusCode = 400)
12 ##set ($message = 'error')
13
14 #set ($discard = $response.setStatus($statusCode))
15 #jsonResponse({'message': $message})
16 #end
17 {{/velocity}}
18
19 {{velocity}}
20 #set ($discard = $xwiki.ssx.use('contact.WebHome'))
21 #set ($xobject = $doc.getObject('Agnease.Code.ContactForm.ContactFormClass'))
22 #set ($xclass = $xobject.xWikiClass)
23 #set ($editing = true)
24 = Tell Us More About Your Project =
25 You do not need to have a full specification. A short description is enough to start the conversation.
26 {{html clean="false"}}
27 <div class="row">
28 <div class="xform col-xs-7">
29 <form id="contactForm">
30 <dl>
31 #foreach ($property in $xclass.properties)
32 #if ($property.name == 'hosting')
33 <hr>
34 <h3>Optional project details</h3>
35 <p>These details help us understand the scope and suggest practical next steps.</p>
36 #end
37 <dt #if (!$editing && $hasEdit)
38 class="editableProperty"
39 #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
40 data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
41 data-property-type="object"#end>
42 ## This must match the id generated by the $doc.display() method below.
43 #set ($propertyId = "${xclass.name}_${xobject.number}_$property.name")
44 <label#if ($editing) for="$escapetool.xml($propertyId)"#end>
45 $escapetool.xml($property.translatedPrettyName)
46 </label>
47 ## Support for specifying a translation key as hint in the property definition.
48 <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
49 </dt>
50 <dd>$doc.display($property.name, 'edit').replace('{{html clean="false" wiki="false"}}', '').replace("{{/html}}", '')</dd>
51 #end
52 #if (!$xclass.properties || $xclass.properties.size() == 0)
53 ## Keep the empty definition term in order to have valid HTML.
54 <dt></dt>
55 <dd>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd>
56 #end
57 </dl>
58 <p>Your information will only be used to respond to this request.</p>
59 ##<p>Your information will only be used to respond to this request. See the Privacy Policy for details.</p>
60 <input id="contactSubmit" type="submit" class="btn btn-primary" value="Send my request">
61 </form>
62 {{/html}}
63 {{html clean="false" wiki="true"}}
64 <div class="reviewNotifications">
65 <div class="hidden reviewNotificationSuccess">
66
67 {{success}}reviewNotification{{/success}}
68
69 </div>
70 <div class="hidden reviewNotificationError">
71
72 {{error}}reviewNotification{{/error}}
73
74 </div>
75 </div>
76 {{/html}}
77 {{html clean="false"}}
78 </div>
79 <div class="col-xs-5">
80 <div class="widget">
81 <h4>$services.icon.renderHTML('check') How Agnease can help</h4>
82 <ul>
83 <li>XWiki upgrades and long-term maintenance</li>
84 <li>Knowledge bases, intranets, SOP and documentation workflows</li>
85 <li>Custom XWiki applications and integrations</li>
86 <li>LDAP, SSO, OIDC, SAML, and MFA setup</li>
87 <li>Migrations from SharePoint, Confluence, MediaWiki, or file-based documentation</li>
88 <li>Security-aware reviews and platform stabilization</li>
89 </ul>
90 </div>
91 <div class="widget">
92 <h4>$services.icon.renderHTML('right') What happens next?</h4>
93 <ol>
94 <li>Your request is reviewed.</li>
95 <li>You receive a reply with clarifying questions or suggested next steps.</li>
96 <li>If useful, we schedule a short call to discuss scope, timeline, and estimated effort.</li>
97 </ol>
98 </div>
99 </div>
100 </div>
101 {{/html}}
102 {{/velocity}}