Changes for page CHOPlist
Last modified by Marco Weber on 2026/10/05 15:41
From version 27.1
edited by Marco Weber
on 2026/10/01 15:07
on 2026/10/01 15:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,10 +1,25 @@ 1 1 {{velocity}} 2 -{{liveData 3 - id="choplist" 4 - properties="code,text_de,text_fr,text_it,valid_start,valid_end,chop_like,treat_cat,topo_group,chcr_only" 5 - source="liveTable" 6 - sourceParameters="className=CHOPlist.Code.CHOPlistClass&translationPrefix=choplist.livetable." 7 - sort="code:asc" 8 - limit="30" 9 -/}} 2 +#set ($columnsProperties = { 3 + 'code': {}, 4 + 'text_de': {}, 5 + 'text_fr': {}, 6 + 'text_it': {}, 7 + 'valid_start': {"html":true}, 8 + 'valid_end': {"html":true}, 9 + 'chop_like': {}, 10 + 'treat_cat': {}, 11 + 'topo_group': {}, 12 + 'chcr_only': {} 13 +}) 14 +#set ($options = { 15 + 'className': 'CHOPlist.Code.CHOPlistClass', 16 + 'translationPrefix': 'choplist.livetable.', 17 + 'tagCloud': true, 18 + 'rowCount': 15, 19 + 'maxPages': 10, 20 + 'selectedColumn': 'code', 21 + 'defaultOrder': 'asc' 22 +}) 23 +#set ($columns = ['code', 'text_de', 'text_fr', 'text_it', 'valid_start', 'valid_end', 'chop_like', 'treat_cat', 'topo_group', 'chcr_only']) 24 +#livetable('choplist' $columns $columnsProperties $options) 10 10 {{/velocity}}