Changes for page P4P Apps

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

From version 10.1
edited by Zenna Elfen
on 2025/11/24 11:23
Change comment: Updated application icon
To version 6.1
edited by Zenna Elfen
on 2025/11/24 10:27
Change comment: Update LiveTable

Summary

Details

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