Changes for page Books
Last modified by Jip-jan Alunkel on November 23, 10:59
To version 9.19
edited by Jip-jan Alunkel
on August 31, 21:52
on August 31, 21:52
Change comment:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Class properties (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,15 +12,16 @@ 12 12 <h2 class="livetable">Overview of all books</h2> 13 13 <div class="livetable"> 14 14 15 -#set ($columns = ["doc.title", "a uthor", "doc.space"])15 +#set ($columns = ["doc.title", "name", "doc.space"]) 16 16 #set ($columnsProperties = { 17 17 "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"}, 18 - " remedy" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},18 + "name" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4}, 19 19 "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "link": "space"} 20 20 }) 21 21 #set ($options = { 22 22 "className" : "books.WebHome", 23 23 "translationPrefix" : "books.livetable.", 24 + "extraParams": "&name_class=assets.pagemaker.classes.persons", 24 24 "queryFilters" : "currentlanguage", 25 25 "rowCount": 10 26 26 }) ... ... @@ -33,7 +33,14 @@ 33 33 Please feel free to share these books with our readers. However, to make sure your case is correctly filed in this wiki it is necessary that you answer a few simple questions about the case. 34 34 </p> 35 35 36 -#createFormStart("homeoworld_form" "book") 37 +#set($form_start = { 38 + "id": "homeoworld_form", 39 + "product": "book", 40 + "method": "post", 41 + "url": "", 42 + "use_captcha": "false" 43 +}) 44 +#createFormStart($form_start) 37 37 #set($booktype = { 38 38 "id" : "booktype", 39 39 "type" : "select", ... ... @@ -70,11 +70,12 @@ 70 70 "required" : "true", 71 71 "label" : "Author of the book", 72 72 "aria-label" : "Enter the author of the book", 81 + "data-default-value": "", 73 73 "placeholder" : "$services.localization.render('cases.word.author.placeholder')", 74 74 "data-auto-first-capital" : "true", 75 - "data-query-type" : "XWQL .matchObject",84 + "data-query-type" : "XWQL", 76 76 "data-query-reference" : "assets.pagemaker.XWQL.matchObject", 77 - "data-query-scope" : " books",86 + "data-query-scope" : "", 78 78 "data-query-list-type" : "suggest-select", 79 79 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')", 80 80 "data-query-list-contents" : "value", ... ... @@ -81,11 +81,11 @@ 81 81 "data-query-list-editable" : "true", 82 82 "data-create-xobj" : "true", 83 83 "data-xobj-classname" : "assets.pagemaker.classes.persons", 84 - "data-xobj-fieldname" : "a uthor",93 + "data-xobj-fieldname" : "name", 85 85 "data-modal-input" : ["$services.localization.render('global.word.lastname')", "$services.localization.render('global.word.firstname')"], 86 86 "data-modal-input-glue": ", ", 87 87 "data-error-response-type" : "use_label_definite_1", 88 - "help-block" : ' Select the author of thiscase.'97 + "help-block" : 'Enter the last name of the author of this book. Choose the author from the list or create a new author.' 89 89 }) 90 90 #createFormElement($author) 91 91 #set($extra_info = { ... ... @@ -118,7 +118,10 @@ 118 118 "help-block" : "" 119 119 }) 120 120 #createSubmit($submit) 121 -#createFormEnd() 130 +#set($form_end = { 131 + "use_captcha": "false" 132 +}) 133 +#createFormEnd($form_end) 122 122 123 123 {{/html}} 124 124 {{/velocity}}
- 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 - Use Suggest
-
... ... @@ -1,1 +1,0 @@ 1 -1