Wiki source code of Books

Version 3.30 by Jip-jan Alunkel on March 28, 22:23

Hide last authors
Jip-jan Alunkel 3.11 1 {{velocity}}
2 #set ($discard = $services.localization.use('document', 'cases.Code.translations'))
3 #set( $discard = $xwiki.ssx.use('cases.WebHome') )
4 #set( $discard = $xwiki.jsx.use('cases.WebHome', {'minify' : false}) )
5 {{/velocity}}
Jip-jan Alunkel 3.14 6
Jip-jan Alunkel 1.1 7 All about books
Jip-jan Alunkel 2.2 8
Jip-jan Alunkel 3.8 9 {{include reference="assets.macros.form-elements" /}}
Jip-jan Alunkel 2.2 10
11 {{velocity}}
Jip-jan Alunkel 3.16 12 {{html}}
Jip-jan Alunkel 3.13 13
Jip-jan Alunkel 3.12 14 #createFormStart("homeoworld_form" "case")
15
Jip-jan Alunkel 3.9 16 #set($locality = {
Jip-jan Alunkel 2.2 17 "id" : "locality",
18 "type" : "select",
Jip-jan Alunkel 3.17 19 "required" : "yes",
Jip-jan Alunkel 2.2 20 "label" : "Locality of the main complaint",
21 "aria-label" : "Select the locality",
22 "data-error-response-type" : "use_label_defined_1",
23 "data-set-space" : "true",
24 "placeholder" : "cases.word.locality_select.placeholder",
25 "space-reference" : "cases",
26 "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
27 })
Jip-jan Alunkel 3.13 28
Jip-jan Alunkel 3.9 29 #createFormElement($locality)
Jip-jan Alunkel 3.13 30
Jip-jan Alunkel 3.9 31 #set($main_complaint = {
32 "id" : "main_complaint",
33 "type" : "text",
Jip-jan Alunkel 3.17 34 "required" : "yes",
Jip-jan Alunkel 3.9 35 "label" : "Main complaint",
36 "aria-label" : "Enter the main complaint",
Jip-jan Alunkel 3.10 37 "placeholder" : "cases.wordgroup.main_complaint.placeholder",
Jip-jan Alunkel 3.9 38 "data-error-response-type" : "use_label_defined_1",
39 "data-query-type" : "XWQL.matchTitle",
40 "data-query-scope" : "cases",
41 "data-query-list-type" : "suggest-negate",
42 "data-query-list-contents" : "value",
43 "data-create-page" : "true",
Jip-jan Alunkel 3.23 44 "help-block" : 'Please be as concise as possible when you describe the main complaint. For example:<br />"chronic headache with bowel complaints,"<br />"intermittend fever" or<br />"diarrhea."'
Jip-jan Alunkel 3.9 45 })
Jip-jan Alunkel 3.13 46
Jip-jan Alunkel 3.9 47 #createFormElement($main_complaint)
48
Jip-jan Alunkel 3.24 49 #set($remedy = {
50 "id" : "remedy",
51 "type" : "text",
52 "required" : "yes",
53 "label" : "Remedy",
54 "aria-label" : "Choose the remedy",
55 "placeholder" : "cases.word.remedy.placeholder",
56 "data-error-response-type" : "use_label_undefined",
57 "data-query-type" : "JSON.remedies",
58 "data-query-list-type" : "suggest-select",
59 "data-query-list-contents" : "value/key",
60 "data-create-xobj" : "true",
61 "data-xobj-classname" : "cases.Code.casesClass",
62 "data-xobj-fieldname" : "remedy",
Jip-jan Alunkel 3.26 63 "help-block" : 'Select the remedy that is central in this case.'
Jip-jan Alunkel 3.24 64 })
65
66 #createFormElement($remedy)
67
Jip-jan Alunkel 3.27 68 #set($extra_info = {
69 "id" : "extra_info",
70 "type" : "checkbox",
71 "required" : "no",
72 "label" : "Extra information (optional)",
73 "value" : "yes"
74 })
75
76 #createFormElement($extra_info)
77
Jip-jan Alunkel 3.30 78 #createExpandStart("extra_info" "yes")
Jip-jan Alunkel 3.28 79
Jip-jan Alunkel 3.29 80 Hi there, I am a hungry person.
81
Jip-jan Alunkel 3.30 82 #createExpandEnd()
Jip-jan Alunkel 3.28 83
Jip-jan Alunkel 3.13 84 #createFormEnd()
85
Jip-jan Alunkel 3.16 86 {{/html}}
Jip-jan Alunkel 2.2 87 {{/velocity}}
88