Changes for page Data types
From version 1.1
edited by N Pompei
on 08/06/2020 17:31
on 08/06/2020 17:31
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-xclass-ui/12.4]
To version 2.1
edited by Nazzareno Pompei
on 22/12/2021 08:46
on 22/12/2021 08:46
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-xclass-ui/13.10.1]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.NPompei 1 +XWiki.NazzarenoPompei - Content
-
... ... @@ -92,23 +92,27 @@ 92 92 (% id="HClassesLiveTable" %) 93 93 = {{translation key="platform.xclass.classes.livetable.heading"/}} = 94 94 95 -{{velocity}} 96 -{{html}} 97 -#set ($columns = ['doc.title', 'doc.location', 'doc.date', 'doc.author', 'pageCount', '_actions']) 98 -#set ($columnsProperties = { 99 - 'doc.title': {'link': 'view'}, 100 - 'doc.location': {'html': true}, 101 - 'doc.author': {'link': 'author'}, 102 - 'pageCount': {'type': 'numeric', 'filterable': false, 'sortable': false}, 103 - '_actions': {'sortable': false, 'filterable': false, 'html': true, 'actions': ['edit', 'delete']} 104 -}) 105 -#set ($options = { 106 - 'resultPage': 'XWiki.XWikiClassesLiveTableResults', 107 - 'translationPrefix' : 'platform.xclass.classes.livetable.', 108 - 'rowCount': 10, 109 - 'outputOnlyHtml': true, 110 - 'queryFilters': [] 111 -}) 112 -#livetable("classes" $columns $columnsProperties $options) 113 -{{/html}} 114 -{{/velocity}} 95 +{{liveData 96 + id="classes" 97 + properties="doc.title,doc.location,doc.date,doc.author,pageCount,_actions" 98 + source="liveTable" 99 + sourceParameters="resultPage=XWiki.XWikiClassesLiveTableResults&translationPrefix=platform.xclass.classes.livetable.&queryFilters=" 100 + }} 101 +{ 102 + "meta": { 103 + "propertyDescriptors": [ 104 + { 105 + "id": "doc.title", 106 + "editable": false 107 + }, 108 + { 109 + "id": "pageCount", 110 + "editable": false, 111 + "filterable": false, 112 + "sortable": false, 113 + "displayer": "number" 114 + } 115 + ] 116 + } 117 +} 118 +{{/liveData}}