Wijzigen voor document Books

Laatst gewijzigd door Jip-jan Alunkel op november 23, 10:59

Van versie 10.2
gewijzigd door Jip-jan Alunkel
op november 23, 10:58
Opmerking bij wijziging: Removed class property "publish_year"
Naar versie 9.21
gewijzigd door Jip-jan Alunkel
op augustus 31, 21:55
Opmerking bij wijziging: Updated class property

Samenvatting

Details

Paginaeigenschappen
Inhoud
... ... @@ -15,12 +15,12 @@
15 15  
16 16  #set ($columns = ["doc.title", "name", "doc.space"])
17 17  #set ($columnsProperties = {
18 - "$stringtool.capitalize(doc.title)": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
19 - "name": {"type": "text", "filterable" : true, "sortable": true, "headerClass": "author"},
20 - "doc.space": {"type": "text", "filterable" : true, "sortable": true, "headerClass": "category", "link": "space"}
18 + "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"},
19 + "name" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4},
20 + "doc.space" : {"type": "text", "filterable" : true, "sortable": true, "size" : 4, "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