0 Votes

Changes for page Movies

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

From version 5.1
edited by Ryan C
on 2025/06/08 05:38
Change comment: Update LiveTable
To version 1.1
edited by Ryan C
on 2025/06/05 13:32
Change comment: Install extension [org.xwiki.platform:xwiki-platform-help-ui/17.4.0]

Summary

Details

Page properties
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 2.1
1 +XWiki 2.0
Content
... ... @@ -1,12 +1,12 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 - 'longText1': {"filterable":false,"sortable":false,"html":true},
4 - 'shortText1': {},
5 - 'shortText2': {},
6 - 'date1': {"html":true},
7 - 'Tags': {},
8 - '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]},
9 - 'Image': {"filterable":false,"sortable":false,"html":true}
3 + 'longText1': {"type":"text","filterable":false,"sortable":false,"html":true},
4 + 'doc.title': {"type":"text","size":20,"displayName":"Title","link":"view"},
5 + 'staticList1': {"type":"list","size":10},
6 + 'date1': {"type":"text","size":10,"html":true},
7 + 'databaseList1': {"type":"list","size":10},
8 + 'boolean1': {"type":"text","size":10},
9 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
10 10  })
11 11  #set ($options = {
12 12   'className': 'Help.Applications.Movies.Code.MoviesClass',
... ... @@ -17,6 +17,6 @@
17 17   'selectedColumn': 'longText1',
18 18   'defaultOrder': 'asc'
19 19  })
20 -#set ($columns = ['longText1', 'shortText1', 'shortText2', 'date1', 'Tags', '_actions', 'Image'])
20 +#set ($columns = ['longText1', 'doc.title', 'staticList1', 'date1', 'databaseList1', 'boolean1', '_actions'])
21 21  #livetable('movies' $columns $columnsProperties $options)
22 22  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -longText1 shortText1 shortText2 date1 Tags _actions Image
1 +longText1 title1 staticList1 date1 databaseList1 boolean1 _actions
Description
... ... @@ -1,1 +1,1 @@
1 -Upload incident reports with a headline, source link, image, and short summary. Submissions will appear below in the table and on a formatted dashboard.
1 +Simple application to manage a list of movies. If you want to know where the movie directors are defined, check the [[Contributors>>Help.Applications.Contributors.WebHome]] application.
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