From version < 4.1 >
edited by Administrator
on 2020/01/14 13:54
To version 1.1 >
edited by Administrator
on 2015/12/01 14:44
>
Change comment: Install extension [org.xwiki.platform:xwiki-platform-index-ui-7.3]

Summary

Details

Page properties
Content
... ... @@ -4,4 +4,4 @@
4 4  
5 5  Generates:
6 6  
7 -{{documents id="example" count="5" actions="false" columns="doc.title, doc.location"/}}
7 +{{documents id="example" count="5" actions="false" space="Main" parent="Main.WebHome" columns="doc.title, doc.location"/}}
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -8,7 +8,7 @@
8 8   #set($collist = ['doc.title', 'doc.location', 'doc.date', 'doc.author'])
9 9  #end
10 10  #set($colprops = {
11 - 'doc.title' : { 'type' : 'text' , 'size' : 30, 'link' : 'view', 'filterable': false, 'sortable': false },
11 + 'doc.title' : { 'type' : 'text' , 'size' : 30, 'link' : 'view', 'filterable': false },
12 12   'doc.location' : { 'type': 'text', 'filterable': true, 'html': true},
13 13   'doc.fullName' : { 'type' : 'text' , 'size' : 30, 'link' : 'view' },
14 14   'doc.name' : { 'type' : 'text' , 'size' : 30, 'link' : 'view' },
... ... @@ -24,9 +24,6 @@
24 24  #if ("$!xcontext.macro.params.space" != "")
25 25   #set ($extraParams = "&space=$escapetool.url($xcontext.macro.params.space)")
26 26  #end
27 -#if ("$!xcontext.macro.params.location" != "")
28 - #set ($extraParams = "$!{extraParams}&location=$escapetool.url($xcontext.macro.params.location)")
29 -#end
30 30  #if ("$!xcontext.macro.params.parent" != "")
31 31   #set ($extraParams = "$!{extraParams}&parent=$escapetool.url($xcontext.macro.params.parent)")
32 32  #end
XWiki.WikiMacroParameterClass[6]
Parameter description
... ... @@ -1,1 +1,0 @@
1 -Only lists documents having a full reference matching the passed location (e.g. passing "Beau" would match a document reference of "France.Paris.Beaubourg.Office")
Parameter mandatory
... ... @@ -1,1 +1,0 @@
1 -0
Parameter name
... ... @@ -1,1 +1,0 @@
1 -location

Example:

{{documents id="example" count="5" actions="false" columns="doc.title, doc.location"/}}

Generates:

This table lists documents found on this wiki based on passed criteria. The columns can be sorted and some can be filtered.
per page of Page
The environment prevents the table from loading data.
 
Page
This table lists documents found on this wiki based on passed criteria. The columns can be sorted and some can be filtered.
per page of Page
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