From version 1.1 >
edited by Administrator
on 2015/12/01 14:44
To version < 2.1
edited by Administrator
on 2020/01/14 14:41
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/11.10.2]

Summary

Details

Page properties
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 2.0
1 +XWiki 2.1
Content
... ... @@ -2,14 +2,14 @@
2 2  $services.localization.render('platform.appwithinminutes.description')
3 3  
4 4  #if($hasCreateSpace)
5 - (% class="buttonwrapper" %)[[$services.localization.render('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button"]]
5 + (% class="buttonwrapper" %)[[$services.localization.render('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button" queryString="wizard=true"]]
6 6  
7 7  #end
8 8  = $services.localization.render('platform.appwithinminutes.appsLiveTableHeading') =##
9 9  #set($columnsProperties = {
10 - 'doc.space': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true},
10 + 'doc.title': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true},
11 11   'doc.author': {'type': 'text', 'link': 'author', 'size': 10, 'filterable': true, 'sortable': true},
12 - 'doc.date': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true},
12 + 'doc.date': {'type': 'date', 'size': 10, 'filterable': true, 'sortable': true},
13 13   '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']}
14 14  })
15 15  #set($options = {
... ... @@ -19,10 +19,10 @@
19 19   'tagCloud': true,
20 20   'rowCount': 15,
21 21   'maxPages': 10,
22 - 'selectedColumn': 'doc.space',
22 + 'selectedColumn': 'doc.title',
23 23   'defaultOrder': 'asc'
24 24  })
25 -#set($columns = ['doc.space', 'doc.author', 'doc.date', '_actions'])
25 +#set($columns = ['doc.title', 'doc.author', 'doc.date', '_actions'])
26 26  #livetable('livetable' $columns $columnsProperties $options)
27 -#set($docextras=[])
27 +#set ($displayDocExtra = false)
28 28  {{/velocity}}
XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,12 +1,4 @@
1 1  document.observe('xwiki:livetable:newrow', function(event) {
2 - // Fix the display of the application name.
3 - var appLink = event.memo.row.down('td.doc_space a');
4 - var appReference = XWiki.Model.resolve(event.memo.data['doc_space'], XWiki.EntityType.SPACE);
5 - var appLocation = appReference.getReversedReferenceChain().map(function(spaceReference) {
6 - return spaceReference.name;
7 - }).join(' \u00BB ');
8 - appLink.update(appLocation.escapeHTML());
9 -
10 10   // Add the xredirect parameter to the query string of the delete action to
11 11   // redirect the user back to the live table after an application is deleted.
12 12   var deleteLink = event.memo.row.down('td.actions').down('a.actiondelete');

Create collaborative web applications within minutes, based on XWiki's powerful structured data management system.

Applications

per page of Page
Actions
The environment prevents the table from loading data.
 
Page
per page of Page
Actions
The environment prevents the table from loading data.
 
Page
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 11.10.2 - Documentation