0 Votes

Changes for page Movies

Last modified by Ryan C on 2025/06/12 02:46

From version 6.1
edited by Ryan C
on 2025/06/08 05:39
Change comment: Update LiveTable
To version 2.1
edited by Ryan C
on 2025/06/08 02:43
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -1,12 +1,8 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 - 'Image': {"filterable":false,"sortable":false,"html":true},
3 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]},
4 4   'shortText1': {},
5 - 'longText1': {"filterable":false,"sortable":false,"html":true},
6 - 'shortText2': {},
7 - 'Tags': {},
8 - 'date1': {"html":true},
9 - '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
5 + 'shortText2': {}
10 10  })
11 11  #set ($options = {
12 12   'className': 'Help.Applications.Movies.Code.MoviesClass',
... ... @@ -14,9 +14,9 @@
14 14   'tagCloud': true,
15 15   'rowCount': 15,
16 16   'maxPages': 10,
17 - 'selectedColumn': 'Image',
13 + 'selectedColumn': '_actions',
18 18   'defaultOrder': 'asc'
19 19  })
20 -#set ($columns = ['Image', 'shortText1', 'longText1', 'shortText2', 'Tags', 'date1', '_actions'])
16 +#set ($columns = ['_actions', 'shortText1', 'shortText2'])
21 21  #livetable('movies' $columns $columnsProperties $options)
22 22  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -Image shortText1 longText1 shortText2 Tags date1 _actions
1 +_actions shortText1 shortText2
XWiki.UIExtensionClass[0]
Extension Point ID
... ... @@ -1,1 +1,0 @@
1 -org.xwiki.platform.panels.Applications
Extension ID
... ... @@ -1,1 +1,0 @@
1 -platform.panels.Help.Applications.MoviesApplication
Extension Parameters
... ... @@ -1,3 +1,0 @@
1 -label=Movies
2 -target=Help.Applications.Movies.WebHome
3 -icon=icon:film
Extension Scope
... ... @@ -1,1 +1,0 @@
1 -wiki