Wiki source code of BadLiveTable
Last modified by Ludovic Dubost on 2010/09/03 10:39
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #set($columns = [ "first_name" ,"last_name" ,"comment" ]) | ||
3 | #set($columnsProperties = { | ||
4 | "first_name" : { "type" : "text", "link" : "view", "size" : 10, "filterable" : true, "sortable": true }, | ||
5 | "last_name" : { "type" : "text", "link" : "view", "size" : 10, "filterable" : true, "sortable": true }, | ||
6 | "comment" : { "type" : "text", "link" : "view", "size" : 10, "filterable" : true, "sortable": true } | ||
7 | }) | ||
8 | |||
9 | #set($options = { | ||
10 | "className":"XWiki.XWikiUsers", | ||
11 | "translationPrefix" : "xwikiusers.livetable.", | ||
12 | "tagCloud" : true, | ||
13 | "rowCount": 15, | ||
14 | "maxPages" : 10, | ||
15 | "selectedColumn" : "doc.title", | ||
16 | "defaultOrder" : "asc" | ||
17 | }) | ||
18 | |||
19 | #livetable("xwikiusers" $columns $columnsProperties $options) | ||
20 | {{/velocity}} |