Wiki source code of SetupTemplate
Last modified by Eugen Colesnicov on 2013/03/20 13:56
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | {{velocity}} | |
2 | |||
3 | |((( | ||
4 | #set($columns = [ "Prop" ,"Val" ,"Notes", "_actions" ]) | ||
5 | #set($columnsProperties = { | ||
6 | "Prop" : { "type" : "text", "size" : 20, "filterable" : true, "sortable": true }, | ||
7 | "Val" : { "type" : "text", "size" : 20, "filterable" : true, "sortable": true }, | ||
8 | "Notes" : { "type" : "text", "size" : 60, "filterable" : true, "sortable": true }, | ||
9 | "_actions" : { "actions" : ["edit"]} | ||
10 | }) | ||
11 | |||
12 | #set($options = { | ||
13 | "className":"etvcCVcode.SetupClass", | ||
14 | "translationPrefix" : "setup.livetable.", | ||
15 | "tagCloud" : true, | ||
16 | "rowCount": 15, | ||
17 | "maxPages" : 10, | ||
18 | "selectedColumn" : "doc.title", | ||
19 | "defaultOrder" : "asc" | ||
20 | }) | ||
21 | |||
22 | #livetable("setup" $columns $columnsProperties $options) | ||
23 | ))) | ||
24 | |||
25 | {{/velocity}} | ||
26 | |||
27 |