Changes for page CHOPlist
Last modified by Marco Weber on 2026/10/05 15:41
From version 15.1
edited by Marco Weber
on 2026/09/30 10:51
on 2026/09/30 10:51
Change comment:
There is no comment for this version
To version 5.1
edited by Marco Weber
on 2026/09/29 15:51
on 2026/09/29 15:51
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -153,12 +153,41 @@ 153 153 {{/html}} 154 154 155 155 {{velocity}} 156 -{{liveData 157 - id="choplist" 158 - properties="code,text_de,text_fr,text_it,valid_start,valid_end,chop_like,treat_cat,topo_group,chcr_only" 159 - source="liveTable" 160 - sourceParameters="className=CHOPlist.Code.CHOPlistClass&translationPrefix=choplist.livetable." 161 - sort="code:asc" 162 - limit="30" 163 -/}} 156 +#set ($columnsProperties = { 157 + 'code': {}, 158 + 'text_de': {}, 159 + 'text_fr': {}, 160 + 'text_it': {}, 161 + 'valid_start': {"html":true}, 162 + 'valid_end': {"html":true}, 163 + 'chop_like': {}, 164 + 'treat_cat': {}, 165 + 'topography': {}, 166 + 'chcr_only': {} 167 +}) 168 + 169 +#set ($options = { 170 + 'className': 'CHOPlist.Code.CHOPlistClass', 171 + 'translationPrefix': 'choplist.livetable.', 172 + 'tagCloud': true, 173 + 'rowCount': 30, 174 + 'maxPages': 10, 175 + 'selectedColumn': 'code', 176 + 'defaultOrder': 'asc' 177 +}) 178 + 179 +#set ($columns = [ 180 + 'code', 181 + 'text_de', 182 + 'text_fr', 183 + 'text_it', 184 + 'valid_start', 185 + 'valid_end', 186 + 'chop_like', 187 + 'treat_cat', 188 + 'topography', 189 + 'chcr_only' 190 +]) 191 + 192 +#livetable('choplist' $columns $columnsProperties $options) 164 164 {{/velocity}}