Modifications pour le document Books
Modifié par Jip-jan Alunkel le novembre 23, 10:59
Depuis la version 8.10
modifié par Jip-jan Alunkel
sur avril 10, 16:31
sur avril 10, 16:31
Commentaire de modification :
Added class property
À la version 8.17
modifié par Jip-jan Alunkel
sur avril 10, 17:02
sur avril 10, 17:02
Commentaire de modification :
Updated class property
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
-
Propriétés de la Classe (1 modifications, 1 ajouts, 3 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -48,20 +48,26 @@ 48 48 49 49 #createFormElement($book_title) 50 50 51 -#set($ publish_year = {52 - "id" : " publish_year",53 - "type" : " number",51 +#set($author = { 52 + "id" : "author", 53 + "type" : "text", 54 54 "required" : "true", 55 - "label" : "Year of publishing", 56 - "aria-label" : "Enter the year of publishing", 57 - "placeholder" : "Year", 58 - "data-error-response-type" : "use_label_definite_1", 55 + "label" : "Author of the book", 56 + "aria-label" : "Enter the author of the book", 57 + "placeholder" : "Author", 58 + "data-query-type" : "XWQL.matchObject", 59 + "data-query-scope" : "books", 60 + "data-query-list-type" : "suggest-select", 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", 59 59 "data-create-xobj" : "true", 60 60 "data-xobj-classname" : "books.WebHome", 61 - "data-xobj-fieldname" : "publish_year" 66 + "data-xobj-fieldname" : "author", 67 + "help-block" : 'Select the author of this case.' 62 62 }) 63 63 64 -#createFormElement($r emedy)70 +#createFormElement($author) 65 65 66 66 #set($extra_info = { 67 67 "id" : "extra_info", ... ... @@ -75,25 +75,20 @@ 75 75 76 76 #createExpandStart("extra_info" "yes") 77 77 78 -#set($author = { 79 - "id" : "author", 80 - "type" : "text", 81 - "required" : "false", 82 - "label" : "Author", 83 - "aria-label" : "Enter the author name", 84 - "placeholder" : "$services.localization.render('cases.word.author.placeholder')", 85 - "data-query-type" : "XWQL.matchObject", 86 - "data-query-scope" : "books", 87 - "data-query-list-type" : "suggest-select", 88 - "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 89 - "data-query-list-contents" : "value", 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", 90 90 "data-create-xobj" : "true", 91 91 "data-xobj-classname" : "books.WebHome", 92 - "data-xobj-fieldname" : "author", 93 - "help-block" : 'Select the author of this case.' 94 + "data-xobj-fieldname" : "publish_year" 94 94 }) 95 95 96 -#createFormElement($ author)97 +#createFormElement($publish_year) 97 97 98 98 #createExpandEnd() 99 99
- author
-
- Use Suggest
-
... ... @@ -1,0 +1,1 @@ 1 +1
- publish_year
-
- Number
-
... ... @@ -1,0 +1,1 @@ 1 +2 - Number Type
-
... ... @@ -1,0 +1,1 @@ 1 +long - Size
-
... ... @@ -1,0 +1,1 @@ 1 +30 - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +publish_year - Name
-
... ... @@ -1,0 +1,1 @@ 1 +publish_year
- 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
- title
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -1 - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -title - Name
-
... ... @@ -1,1 +1,0 @@ 1 -title - Use Suggest
-
... ... @@ -1,1 +1,0 @@ 1 -1
- type
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -2 - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -type - Name
-
... ... @@ -1,1 +1,0 @@ 1 -type - Use Suggest
-
... ... @@ -1,1 +1,0 @@ 1 -1