Modifiche per il documento Books

Ultima modifica di Jip-jan Alunkel il novembre 23, 10:59

Dalla versione 8.2
modificato da Jip-jan Alunkel
il aprile 09, 19:44
Cambia il commento: Added class property
Alla versione 5.5
modificato da Jip-jan Alunkel
il aprile 09, 16:36
Cambia il commento: Updated class property

Summary

Details

Page properties
Content
... ... @@ -12,33 +12,33 @@
12 12  {{velocity}}
13 13  {{html}}
14 14  
15 -#createFormStart("homeoworld_form" "book")
15 +#createFormStart("homeoworld_form" "case")
16 16  
17 -#set($booktype = {
18 - "id" : "booktype",
17 +#set($locality = {
18 + "id" : "locality",
19 19   "type" : "select",
20 - "required" : "true",
21 - "label" : "Type of book",
20 + "required" : "yes",
21 + "label" : "Locality of the main complaint",
22 22   "aria-label" : "Select the locality",
23 23   "data-error-response-type" : "use_label_defined_1",
24 24   "data-set-space" : "true",
25 25   "placeholder" : "$services.localization.render('cases.word.locality_select.placeholder')",
26 - "space-reference" : "books",
27 - "help-block" : "Choose the type of book you would like to enter."
26 + "space-reference" : "cases",
27 + "help-block" : "In which physiological or psychological epicenter can the main complaint be placed? Select the best fitting option from this list."
28 28  })
29 29  
30 -#createFormElement($booktype)
30 +#createFormElement($locality)
31 31  
32 -#set($book_title = {
33 - "id" : "book_title",
32 +#set($main_complaint = {
33 + "id" : "main_complaint",
34 34   "type" : "text",
35 - "required" : "true",
36 - "label" : "Title",
37 - "aria-label" : "Enter the title of the book",
35 + "required" : "yes",
36 + "label" : "Main complaint",
37 + "aria-label" : "Enter the main complaint",
38 38   "placeholder" : "$services.localization.render('cases.wordgroup.main_complaint.placeholder')",
39 - "data-error-response-type" : "use_label_definite_1",
39 + "data-error-response-type" : "use_label_defined_1",
40 40   "data-query-type" : "XWQL.matchTitle",
41 - "data-query-scope" : "books",
41 + "data-query-scope" : "cases",
42 42   "data-query-list-type" : "suggest-negate",
43 43   "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_negate_list')",
44 44   "data-query-list-contents" : "value",
... ... @@ -51,17 +51,17 @@
51 51  #set($remedy = {
52 52   "id" : "remedy",
53 53   "type" : "text",
54 - "required" : "true",
54 + "required" : "yes",
55 55   "label" : "Remedy",
56 56   "aria-label" : "Choose the remedy",
57 57   "placeholder" : "$services.localization.render('cases.word.remedy.placeholder')",
58 - "data-error-response-type" : "use_label_definite_1",
58 + "data-error-response-type" : "use_label_undefined",
59 59   "data-query-type" : "JSON.remedies",
60 60   "data-query-list-type" : "suggest-select",
61 61   "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_select_list')",
62 62   "data-query-list-contents" : "value/key",
63 63   "data-create-xobj" : "true",
64 - "data-xobj-classname" : "books.WebHome",
64 + "data-xobj-classname" : "cases.Code.casesClass",
65 65   "data-xobj-fieldname" : "remedy",
66 66   "help-block" : 'Select the remedy that is central in this case.'
67 67  })
... ... @@ -83,17 +83,17 @@
83 83  #set($author = {
84 84   "id" : "author",
85 85   "type" : "text",
86 - "required" : "false",
86 + "required" : "no",
87 87   "label" : "Author",
88 88   "aria-label" : "Enter the author name",
89 89   "placeholder" : "$services.localization.render('cases.word.author.placeholder')",
90 90   "data-query-type" : "XWQL.matchObject",
91 - "data-query-scope" : "books",
91 + "data-query-scope" : "cases",
92 92   "data-query-list-type" : "suggest-select",
93 93   "data-suggest-list-header" : "$services.localization.render('cases.line.suggest_select_list')",
94 94   "data-query-list-contents" : "value",
95 95   "data-create-xobj" : "true",
96 - "data-xobj-classname" : "books.WebHome",
96 + "data-xobj-classname" : "cases.Code.casesClass",
97 97   "data-xobj-fieldname" : "author",
98 98   "help-block" : 'Select the author of this case.'
99 99  })
author
Number
... ... @@ -1,1 +1,0 @@
1 -4
Size
... ... @@ -1,1 +1,0 @@
1 -30
Pretty Name
... ... @@ -1,1 +1,0 @@
1 -author
Name
... ... @@ -1,1 +1,0 @@
1 -author
remedy
Number
... ... @@ -1,1 +1,0 @@
1 -3
Size
... ... @@ -1,1 +1,0 @@
1 -30
Pretty Name
... ... @@ -1,1 +1,0 @@
1 -remedy
Name
... ... @@ -1,1 +1,0 @@
1 -remedy