Failed to execute template. Grund: [Encountered "\"ntime\"" at environment:/skins/flamingo/htmlheader.vm[line 1, column 49] Was expecting one of:     "||" ...     "," ...     ")" ...     <WHITESPACE> ...     <NEWLINE> ...     "-" ...     "+" ...     "*" ...     "/" ...     "%" ...     <LOGICAL_AND> ...     <LOGICAL_OR> ...     <LOGICAL_LT> ...     <LOGICAL_LE> ...     <LOGICAL_GT> ...     <LOGICAL_GE> ...     <LOGICAL_EQUALS> ...     <LOGICAL_NOT_EQUALS> ...     ]. Klicke auf diese Nachricht, um Details zu erfahren.

Zum Inhalt springen

Wiki-Quellcode von Tour

Zuletzt geändert von Gregor Buchholz am 2024/12/10 12:51

Zeige letzte Bearbeiter
1 {{velocity}}
2 #set ($columnsProperties = {
3 'doc.title': {"type": "text", "size":10,"link":"view"},
4 'isActive': {"type": "text", "size":10, "sortable":true, "filterable": false},
5 'targetPage': {"type":"text","size":10},
6 'targetClass': {"type":"text","size":10},
7 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
8 })
9 #set ($options = {
10 'className': 'TourCode.TourClass',
11 'resultPage': 'TourCode.TourLiveTableResults',
12 'translationPrefix': 'tour.livetable.',
13 'tagCloud': true,
14 'rowCount': 15,
15 'maxPages': 10,
16 'selectedColumn': 'doc.title',
17 'defaultOrder': 'asc',
18 'queryFilters': 'currentlanguage'
19 })
20 #set ($columns = ['doc.title', 'isActive', 'targetPage'])
21 #if ($isAdvancedUser)
22 #set ($discard = $columns.add('targetClass'))
23 #end
24 #set ($discard = $columns.add('_actions'))
25 #livetable('tour' $columns $columnsProperties $options)
26 {{/velocity}}