Changes for page P4P Apps

Last modified by Zenna Elfen on 2025/11/24 11:23

From version 4.1
edited by Zenna Elfen
on 2025/11/24 00:45
Change comment: Update LiveTable
To version 6.1
edited by Zenna Elfen
on 2025/11/24 10:27
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,6 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 + 'content1': {"filterable":false,"sortable":false,"html":true},
3 3   'doc.title': {"link":"view"},
4 4   'shortText1': {},
5 5   'page1': {"html":true},
... ... @@ -13,9 +13,9 @@
13 13   'tagCloud': true,
14 14   'rowCount': 15,
15 15   'maxPages': 10,
16 - 'selectedColumn': 'doc.title',
17 + 'selectedColumn': 'content1',
17 17   'defaultOrder': 'asc'
18 18  })
19 -#set ($columns = ['doc.title', 'shortText1', 'page1', 'doc.location', 'doc.author', '_actions'])
20 +#set ($columns = ['content1', 'doc.title', 'shortText1', 'page1', 'doc.location', 'doc.author', '_actions'])
20 20  #livetable('p4p apps' $columns $columnsProperties $options)
21 21  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -doc.title shortText1 page1 doc.location doc.author _actions
1 +content1 doc.title shortText1 page1 doc.location doc.author _actions