Changes for page Books

Last modified by Jip-jan Alunkel on November 23, 10:59

From version 3.40
edited by Jip-jan Alunkel
on March 31, 17:37
Change comment: There is no comment for this version
To version 3.31
edited by Jip-jan Alunkel
on March 28, 23:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -39,7 +39,6 @@
39 39   "data-query-type" : "XWQL.matchTitle",
40 40   "data-query-scope" : "cases",
41 41   "data-query-list-type" : "suggest-negate",
42 - "data-suggest-list-header" : "cases.line.suggest_negate_list",
43 43   "data-query-list-contents" : "value",
44 44   "data-create-page" : "true",
45 45   "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."'
... ... @@ -57,7 +57,6 @@
57 57   "data-error-response-type" : "use_label_undefined",
58 58   "data-query-type" : "JSON.remedies",
59 59   "data-query-list-type" : "suggest-select",
60 - "data-suggest-list-header" : "cases.line.suggest_select_list",
61 61   "data-query-list-contents" : "value/key",
62 62   "data-create-xobj" : "true",
63 63   "data-xobj-classname" : "cases.Code.casesClass",
... ... @@ -79,26 +79,38 @@
79 79  
80 80  #createExpandStart("extra_info" "yes")
81 81  
80 +<input type="text" class="form-control full"
81 +name="author_text"
82 +id="author_text"
83 +placeholder="${services.localization.render('cases.word.author.placeholder')}"
84 +aria-describedby="author_helpBlock"
85 +aria-label="Enter the author name"
86 +data-query-type="XWQL.matchObject"
87 +data-query-scope="cases"
88 +data-query-list-type="suggest-select"
89 +data-query-list-contents="value"
90 +data-query-list-editable="true"
91 +data-create-xobj="true"
92 +data-xobj-classname="cases.Code.casesClass"
93 +data-xobj-fieldname="author"
94 +autocomplete="off">
82 82  #set($author = {
83 - "id" : "author",
96 + "id" : "remedy",
84 84   "type" : "text",
85 - "required" : "no",
86 - "label" : "Author",
87 - "aria-label" : "Enter the author name",
88 - "placeholder" : "cases.word.author.placeholder",
89 - "data-query-type" : "XWQL.matchObject",
90 - "data-query-scope" : "cases",
98 + "required" : "yes",
99 + "label" : "Remedy",
100 + "aria-label" : "Choose the remedy",
101 + "placeholder" : "cases.word.remedy.placeholder",
102 + "data-error-response-type" : "use_label_undefined",
103 + "data-query-type" : "JSON.remedies",
91 91   "data-query-list-type" : "suggest-select",
92 - "data-suggest-list-header" : $services.localization.render('cases.line.suggest_select_list'),
93 - "data-query-list-contents" : "value",
105 + "data-query-list-contents" : "value/key",
94 94   "data-create-xobj" : "true",
95 95   "data-xobj-classname" : "cases.Code.casesClass",
96 - "data-xobj-fieldname" : "author",
97 - "help-block" : 'Select the author of this case.'
108 + "data-xobj-fieldname" : "remedy",
109 + "help-block" : 'Select the remedy that is central in this case.'
98 98  })
99 99  
100 -#createFormElement($author)
101 -
102 102  #createExpandEnd()
103 103  
104 104  #createFormEnd()