Changes for page Livetable Macro

Last modified by Marius Dumitru Florea on 2017/09/27 11:36

From version 92.3
edited by Vincent Massol
on 2016/06/21 15:28
To version 93.1
edited by Clemens Robbenhaar
on 2016/07/01 16:20
Change comment: minimally modernized examples

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.VincentMassol
1 +xwiki:XWiki.ClemensRobbenhaar
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -94,7 +94,7 @@
94 94   "_avatar" : { "type" : "none", "link" : "none", "html" : "true", "sortable":false },
95 95   "first_name" : { "type" : "text" , "size" : 20, "link" : "view"},
96 96   "last_name" : { "type" : "text", "link" : "view"},
97 - "email" : { "type" : "text" }
97 + "email" : { "type" : "text", "html" : "true" }
98 98  })
99 99  {{/code}}
100 100  
... ... @@ -131,11 +131,11 @@
131 131   "_avatar" : { "type" : "none", "link" : "none", "html" : "true", "sortable":false },
132 132   "first_name" : { "type" : "text" , "size" : 20, "link" : "view"},
133 133   "last_name" : { "type" : "text", "link" : "view"},
134 - "email" : { "type" : "text" }
134 + "email" : { "type" : "text", "html" : "true"}
135 135  })
136 136  #set($options = {
137 137   "className":"XWiki.XWikiUsers",
138 - "translationPrefix" : "xe.index.users.",
138 + "translationPrefix" : "xe.userdirectory.",
139 139   "tagCloud" : true,
140 140   "rowCount": 10
141 141  })
... ... @@ -147,7 +147,7 @@
147 147  {{code language="velocity"}}
148 148  #set($options = {
149 149   "url" : "$xwiki.getURL('XWiki.LiveTableResults', 'get', 'outputSyntax=plain&transprefix=xe.index.users.&classname=XWiki.XWikiUsers&collist=_avatar,first_name,last_name,email,doc.creationDate')",
150 - "translationPrefix" : "xe.index.users.",
150 + "translationPrefix" : "xe.userdirectory.",
151 151   "tagCloud" : true,
152 152   "rowCount": 10
153 153  })

Get Connected