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 8.1
edited by Zenna Elfen
on 2025/11/24 10:31
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -1,11 +1,9 @@
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 - 'page1': {"html":true},
6 - 'doc.location': {"html":true},
7 - 'doc.author': {"link":"author"},
8 - '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
6 + 'page1': {"html":true}
9 9  })
10 10  #set ($options = {
11 11   'className': 'P4P Apps.Code.P4P AppsClass',
... ... @@ -13,9 +13,9 @@
13 13   'tagCloud': true,
14 14   'rowCount': 15,
15 15   'maxPages': 10,
16 - 'selectedColumn': 'doc.title',
14 + 'selectedColumn': 'content1',
17 17   'defaultOrder': 'asc'
18 18  })
19 -#set ($columns = ['doc.title', 'shortText1', 'page1', 'doc.location', 'doc.author', '_actions'])
17 +#set ($columns = ['content1', 'doc.title', 'shortText1', 'page1'])
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