Modifiche per il documento Books
Ultima modifica di Jip-jan Alunkel il novembre 23, 10:59
Dalla versione 9.26
modificato da Jip-jan Alunkel
il agosto 31, 23:21
il agosto 31, 23:21
Cambia il commento:
Updated class property
Alla versione 10.3
modificato da Jip-jan Alunkel
il novembre 23, 10:59
il novembre 23, 10:59
Cambia il commento:
Removed class property "publish_year"
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (0 modified, 1 added, 0 removed)
-
Class properties (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -13,14 +13,14 @@ 13 13 <h2 class="livetable">Overview of all books</h2> 14 14 <div class="livetable"> 15 15 16 -#set ($columns = ["doc.title", "name", "doc.space"]) 16 +#set ($columns = ["$stringtool.capitalize(doc.title)", "name", "doc.space"]) 17 17 #set ($columnsProperties = { 18 - "doc.title": {"type": "text", "filterable" : true, "sortable": true, "link": "view"}, 18 + "$stringtool.capitalize(doc.title)": {"type": "text", "filterable" : true, "sortable": true, "link": "view"}, 19 19 "name": {"type": "text", "filterable" : true, "sortable": true, "headerClass": "author"}, 20 20 "doc.space": {"type": "text", "filterable" : true, "sortable": true, "headerClass": "category", "link": "space"} 21 21 }) 22 22 #set ($options = { 23 - "className" : "books. WebHome",23 + "className" : "books.Code.booksClass", 24 24 "translationPrefix" : "livetable.books.", 25 25 "extraParams": "&name_class=assets.pagemaker.classes.persons", 26 26 "queryFilters" : "currentlanguage", ... ... @@ -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. WebHome",120 + "data-xobj-classname" : "books.Code.booksClass", 121 121 "data-xobj-fieldname" : "publish_year" 122 122 }) 123 123 #createFormElement($publish_year)
- XWiki.ClassSheetBinding[0]
-
- Sheet
-
... ... @@ -1,0 +1,1 @@ 1 +books.Code.booksSheet
- publish_year
-
- Number
-
... ... @@ -1,1 +1,0 @@ 1 -2 - Number Type
-
... ... @@ -1,1 +1,0 @@ 1 -long - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30 - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year - Name
-
... ... @@ -1,1 +1,0 @@ 1 -publish_year