Cambios para el documento Books
Última modificación por Jip-jan Alunkel el noviembre 23, 10:59
Desde la versión 8.8
editado por Jip-jan Alunkel
el abril 10, 16:12
el abril 10, 16:12
Cambiar el comentario:
Added class property
Hasta la versión 8.18
editado por Jip-jan Alunkel
el abril 10, 17:03
el abril 10, 17:03
Cambiar el comentario:
Updated class property
Resumen
-
Propiedades de página (1 modificado, 0 añadido, 0 eliminado)
-
Propiedades de clase (1 modificado, 1 añadido, 3 eliminado)
Detalles
- Propiedades de página
-
- Contenido
-
... ... @@ -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 }) ... ... @@ -48,26 +48,42 @@ 48 48 49 49 #createFormElement($book_title) 50 50 51 -#set($r emedy= {52 - "id" : "r emedy",51 +#set($author = { 52 + "id" : "author", 53 53 "type" : "text", 54 54 "required" : "true", 55 - "label" : " Remedy",56 - "aria-label" : " Choose the remedy",57 - "placeholder" : " $services.localization.render('cases.word.remedy.placeholder')",58 - "data-er ror-response-type" : "use_label_definite_1",59 - "data-query- type" : "JSON.remedies",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 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/key", 62 + "data-query-list-contents" : "value", 63 + "data-query-list-editable" : "false", 63 63 "data-create-xobj" : "true", 64 64 "data-xobj-classname" : "books.WebHome", 65 - "data-xobj-fieldname" : "r emedy",66 - "help-block" : 'Select the remedy thatis centralinthis case.'66 + "data-xobj-fieldname" : "author", 67 + "help-block" : 'Select the author of this case.' 67 67 }) 68 68 69 -#createFormElement($r emedy)70 +#createFormElement($author) 70 70 72 +#set($publish_year = { 73 + "id" : "publish_year", 74 + "type" : "number", 75 + "required" : "true", 76 + "label" : "Year of publishing", 77 + "aria-label" : "Enter the year of publishing", 78 + "placeholder" : "Year", 79 + "data-error-response-type" : "use_label_definite_1", 80 + "data-create-xobj" : "true", 81 + "data-xobj-classname" : "books.WebHome", 82 + "data-xobj-fieldname" : "publish_year" 83 +}) 84 + 85 +#createFormElement($publish_year) 86 + 71 71 #set($extra_info = { 72 72 "id" : "extra_info", 73 73 "type" : "checkbox", ... ... @@ -80,26 +80,6 @@ 80 80 81 81 #createExpandStart("extra_info" "yes") 82 82 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", 95 - "data-create-xobj" : "true", 96 - "data-xobj-classname" : "books.WebHome", 97 - "data-xobj-fieldname" : "author", 98 - "help-block" : 'Select the author of this case.' 99 -}) 100 - 101 -#createFormElement($author) 102 - 103 103 #createExpandEnd() 104 104 105 105 #createFormEnd()
- 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