Wiki source code of InterrogatePet
Last modified by Alex Moruz on 2022/12/02 00:59
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{velocity}} |
2 | ##context.put("StringUtils", StringUtils.class); | ||
3 | |||
4 | #set($columns = ["headBer", "headPet", "pagePet", "columnPet", "numberPet", "glossPet", "obsPet"]) | ||
5 | #set($columnsProperties = { | ||
6 | "headBer" : { "type" : "text", "html" : "true", "displayName" : "Lex.Ber", "link" : "auto", "match" : "partial"}, | ||
7 | "headPet" : { "type" : "text", "html" : "true", "displayName" : "Lex.Pet", "link" : "auto", "match" : "partial"}, | ||
8 | "pagePet" : { "type" : "text", "html" : "true", "displayName" : "Page"}, | ||
9 | "columnPet" : { "type" : "text", "html" : "true", "displayName" : "Column"}, | ||
10 | "numberPet" : { "type" : "text", "html" : "true", "displayName" : "Position"}, | ||
11 | "glossPet" : { "type" : "text", "html" : "true", "displayName" : "Gloss"}, | ||
12 | "obsPet" : { "type" : "text", "html" : "true", "displayName" : "Obs"} | ||
13 | }) | ||
14 | #set($options = { | ||
15 | "className":"Lexicon.LexiconEntryClass", | ||
16 | "translationPrefix" : "lexicon.translations.", | ||
17 | "extraParams" : "&headPet=$escapetool.url('_%')", | ||
18 | "tagCloud" : true, | ||
19 | "rowCount": 10 | ||
20 | }) | ||
21 | #livetable("Lex.Pet" $columns $columnsProperties $options) | ||
22 | |||
23 | {{/velocity}} |