Changes for page Books

Last modified by Jip-jan Alunkel on November 23, 10:59

From version 10.1
edited by Jip-jan Alunkel
on November 23, 10:44
Change comment: Removed class property "publish_year"
To version 9.23
edited by Jip-jan Alunkel
on August 31, 22:03
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -20,7 +20,7 @@
20 20   "doc.space": {"type": "text", "filterable" : true, "sortable": true, "headerClass": "category", "link": "space"}
21 21  })
22 22  #set ($options = {
23 - "className" : "books.Code.booksClass",
23 + "className" : "books.WebHome",
24 24   "translationPrefix" : "livetable.books.",
25 25   "extraParams": "&name_class=assets.pagemaker.classes.persons",
26 26   "queryFilters" : "currentlanguage",
... ... @@ -32,7 +32,7 @@
32 32  <h3>Add a book to this wiki</h3>
33 33  <p>
34 34   Do you know of any books that can be of value to people who would like to learn more about homeopathy?
35 - Please feel free to share these books with our readers. However, to make sure your book is being filed correctly it is necessary that you answer a few simple questions about the book.
35 + 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.
36 36  </p>
37 37  
38 38  #set($form_start = {
... ... @@ -103,7 +103,7 @@
103 103   "type" : "checkbox",
104 104   "required" : "no",
105 105   "label" : "Extra information (optional)",
106 - "value" : "",
106 + "value" : "1",
107 107   "data-opener" : "true"
108 108  })
109 109  #createFormElement($extra_info)
... ... @@ -117,7 +117,7 @@
117 117   "placeholder" : "Year",
118 118   "data-error-response-type" : "use_label_definite_1",
119 119   "data-create-xobj" : "true",
120 - "data-xobj-classname" : "books.Code.booksClass",
120 + "data-xobj-classname" : "books.WebHome",
121 121   "data-xobj-fieldname" : "publish_year"
122 122   })
123 123   #createFormElement($publish_year)
XWiki.ClassSheetBinding[0]
Sheet
... ... @@ -1,1 +1,0 @@
1 -books.Code.booksSheet
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