Changes for page Books
Last modified by Jip-jan Alunkel on November 23, 10:59
From version 8.17
edited by Jip-jan Alunkel
on April 10, 17:02
on April 10, 17:02
Change comment:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Class properties (1 modified, 3 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -48,26 +48,25 @@ 48 48 49 49 #createFormElement($book_title) 50 50 51 -#set($ author = {52 - "id" : " author",51 +#set($remedy = { 52 + "id" : "remedy", 53 53 "type" : "text", 54 54 "required" : "true", 55 - "label" : " Author of thebook",56 - "aria-label" : " Enter the authorofthebook",57 - "placeholder" : " Author",58 - "data- query-type" : "XWQL.matchObject",59 - "data-query- scope" : "books",55 + "label" : "Remedy", 56 + "aria-label" : "Choose the remedy", 57 + "placeholder" : "$services.localization.render('cases.word.remedy.placeholder')", 58 + "data-error-response-type" : "use_label_definite_1", 59 + "data-query-type" : "JSON.remedies", 60 60 "data-query-list-type" : "suggest-select", 61 61 "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 62 - "data-query-list-contents" : "value", 63 - "data-query-list-editable" : "false", 62 + "data-query-list-contents" : "value/key", 64 64 "data-create-xobj" : "true", 65 65 "data-xobj-classname" : "books.WebHome", 66 - "data-xobj-fieldname" : " author",67 - "help-block" : 'Select the authorofthis case.'65 + "data-xobj-fieldname" : "remedy", 66 + "help-block" : 'Select the remedy that is central in this case.' 68 68 }) 69 69 70 -#createFormElement($ author)69 +#createFormElement($remedy) 71 71 72 72 #set($extra_info = { 73 73 "id" : "extra_info", ... ... @@ -81,20 +81,25 @@ 81 81 82 82 #createExpandStart("extra_info" "yes") 83 83 84 -#set($publish_year = { 85 - "id" : "publish_year", 86 - "type" : "number", 87 - "required" : "true", 88 - "label" : "Year of publishing", 89 - "aria-label" : "Enter the year of publishing", 90 - "placeholder" : "Year", 91 - "data-error-response-type" : "use_label_definite_1", 83 +#set($author = { 84 + "id" : "author", 85 + "type" : "text", 86 + "required" : "false", 87 + "label" : "Author", 88 + "aria-label" : "Enter the author name", 89 + "placeholder" : "$services.localization.render('cases.word.author.placeholder')", 90 + "data-query-type" : "XWQL.matchObject", 91 + "data-query-scope" : "books", 92 + "data-query-list-type" : "suggest-select", 93 + "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 94 + "data-query-list-contents" : "value", 92 92 "data-create-xobj" : "true", 93 93 "data-xobj-classname" : "books.WebHome", 94 - "data-xobj-fieldname" : "publish_year" 97 + "data-xobj-fieldname" : "author", 98 + "help-block" : 'Select the author of this case.' 95 95 }) 96 96 97 -#createFormElement($ publish_year)101 +#createFormElement($author) 98 98 99 99 #createExpandEnd() 100 100
- author
-
- Use Suggest
-
... ... @@ -1,1 +1,0 @@ 1 -1
- remedy
-
- Number
-
... ... @@ -1,0 +1,1 @@ 1 +3 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30 - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +remedy - Name
-
... ... @@ -1,0 +1,1 @@ 1 +remedy
- title
-
- Number
-
... ... @@ -1,0 +1,1 @@ 1 +1 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30 - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +title - Name
-
... ... @@ -1,0 +1,1 @@ 1 +title - Use Suggest
-
... ... @@ -1,0 +1,1 @@ 1 +1
- type
-
- Number
-
... ... @@ -1,0 +1,1 @@ 1 +2 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30 - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +type - Name
-
... ... @@ -1,0 +1,1 @@ 1 +type - Use Suggest
-
... ... @@ -1,0 +1,1 @@ 1 +1
- publish_year
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -2 - Number Type
-
... ... @@ -1,1 +1,0 @@ 1 -long - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year - Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year