Changes for page P4P Apps

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

From version 7.1
edited by Zenna Elfen
on 2025/11/24 10:31
Change comment: Update LiveTable
To version 2.1
edited by Zenna Elfen
on 2025/11/23 22:40
Change comment: Update LiveTable

Summary

Details

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