Modifications pour le document Books
Modifié par Jip-jan Alunkel le novembre 23, 10:59
Depuis la version 8.14
modifié par Jip-jan Alunkel
sur avril 10, 16:59
sur avril 10, 16:59
Commentaire de modification :
Removed class property "remedy"
À la version 8.21
modifié par Jip-jan Alunkel
sur avril 11, 19:42
sur avril 11, 19:42
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, 1 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -20,9 +20,9 @@ 20 20 "required" : "true", 21 21 "label" : "Type of book", 22 22 "aria-label" : "Select the type of book", 23 + "placeholder" : "Type", 23 23 "data-error-response-type" : "use_label_definite_1", 24 24 "data-set-space" : "true", 25 - "placeholder" : "Type", 26 26 "space-reference" : "books", 27 27 "help-block" : "Choose the type of book you would like to add." 28 28 }) ... ... @@ -55,12 +55,13 @@ 55 55 "label" : "Author of the book", 56 56 "aria-label" : "Enter the author of the book", 57 57 "placeholder" : "Author", 58 + "data-error-response-type" : "use_label_definite_1", 58 58 "data-query-type" : "XWQL.matchObject", 59 59 "data-query-scope" : "books", 60 60 "data-query-list-type" : "suggest-select", 61 61 "data-query-list-header" : "$services.localization.render('formMaker.line.suggest_select_list')", 62 62 "data-query-list-contents" : "value", 63 - "data-query-list-editable" : " false",64 + "data-query-list-editable" : "true", 64 64 "data-create-xobj" : "true", 65 65 "data-xobj-classname" : "books.WebHome", 66 66 "data-xobj-fieldname" : "author", ... ... @@ -69,18 +69,6 @@ 69 69 70 70 #createFormElement($author) 71 71 72 -#set($extra_info = { 73 - "id" : "extra_info", 74 - "type" : "checkbox", 75 - "required" : "no", 76 - "label" : "Extra information (optional)", 77 - "value" : "yes" 78 -}) 79 - 80 -#createFormElement($extra_info) 81 - 82 -#createExpandStart("extra_info" "yes") 83 - 84 84 #set($publish_year = { 85 85 "id" : "publish_year", 86 86 "type" : "number", ... ... @@ -96,8 +96,27 @@ 96 96 97 97 #createFormElement($publish_year) 98 98 88 +#set($extra_info = { 89 + "id" : "extra_info", 90 + "type" : "checkbox", 91 + "required" : "no", 92 + "label" : "Extra information (optional)", 93 + "value" : "yes" 94 +}) 95 + 96 +#createFormElement($extra_info) 97 + 98 +#createExpandStart("extra_info" "yes") 99 + 99 99 #createExpandEnd() 100 100 102 +#set($submit = { 103 + "id" : "create_book", 104 + "button-text" : "Create book", 105 + "help-block" : "" 106 +}) 107 +#createSubmit($submit) 108 + 101 101 #createFormEnd() 102 102 103 103 {{/html}}
- 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
- 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