From version 1.1 >
edited by Alexandru Colesnicov
on 2018/10/29 16:51
To version < 2.1 >
edited by Alexandru Colesnicov
on 2018/10/29 16:55
>
Change comment: Update LiveTable

Summary

Details

Page properties
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 2.1
1 +XWiki 2.0
Content
... ... @@ -1,0 +1,23 @@
1 +{{velocity}}
2 +#set ($columnsProperties = {
3 + 'shortText1': {},
4 + 'number1': {},
5 + 'number2': {},
6 + 'doc.title': {"link":"view"},
7 + 'doc.location': {"html":true},
8 + 'doc.date': {},
9 + 'doc.author': {"link":"author"},
10 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
11 +})
12 +#set ($options = {
13 + 'className': 'Duncan1.Dunca.Code.DuncaClass',
14 + 'translationPrefix': 'dunca.livetable.',
15 + 'tagCloud': true,
16 + 'rowCount': 15,
17 + 'maxPages': 10,
18 + 'selectedColumn': 'shortText1',
19 + 'defaultOrder': 'asc'
20 +})
21 +#set ($columns = ['shortText1', 'number1', 'number2', 'doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions'])
22 +#livetable('dunca' $columns $columnsProperties $options)
23 +{{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Class
... ... @@ -1,0 +1,1 @@
1 +Duncan1.Dunca.Code.DuncaClass
Live Table Columns
... ... @@ -1,0 +1,1 @@
1 +shortText1 number1 number2 doc.title doc.location doc.date doc.author _actions
Description
... ... @@ -1,0 +1,1 @@
1 +Data collector application
XWiki.UIExtensionClass[0]
Extension Point ID
... ... @@ -1,0 +1,1 @@
1 +org.xwiki.platform.panels.Applications
Extension Scope
... ... @@ -1,0 +1,1 @@
1 +wiki

Need help?

If you need help with XWiki you can contact: