Changes for page CHOPlist

Last modified by Marco Weber on 2026/10/05 15:41

From version 10.1
edited by Marco Weber
on 2026/09/29 15:59
Change comment: There is no comment for this version
To version 24.1
edited by Marco Weber
on 2026/10/01 14:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -152,42 +152,15 @@
152 152  </style>
153 153  {{/html}}
154 154  
155 -{{velocity}}
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 168  
169 -#set ($options = {
170 - 'className': 'CHOPlist.Code.CHOPlistClass',
171 - 'translationPrefix': 'choplist.livetable.',
172 - 'tagCloud': true,
173 - 'rowCount': 50,
174 - 'maxPages': 10,
175 - 'selectedColumn': 'code',
176 - 'defaultOrder': 'asc'
177 -})
178 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 - 'topo_group',
189 - 'ChCr_only'
190 -])
191 -
192 -#livetable('choplist' $columns $columnsProperties $options)
157 +{{velocity}}
158 +{{liveData
159 + id="choplist"
160 + properties="code,text_de,text_fr,text_it,valid_start,valid_end,chop_like,treat_cat,topo_group,chcr_only"
161 + source="liveTable"
162 + sourceParameters="className=CHOPlist.Code.CHOPlistClass&translationPrefix=choplist.livetable."
163 + sort="code:asc"
164 + limit="30"
165 +/}}
193 193  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -code text_de text_fr text_it valid_start valid_end chop_like treat_cat topo_group ChCr_only
1 +code text_de text_fr text_it valid_start valid_end chop_like treat_cat topo_group chcr_only