Изменения документа Documents Macro
Редактировал(а) Андрей Ганьков 2025/08/09 17:45
От версии 6.1
отредактировано Давид Гавриков
на 2024/04/24 16:42
на 2024/04/24 16:42
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-index-ui/16.2.0]
К версии 9.1
отредактировано Андрей Ганьков
на 2025/07/06 04:57
на 2025/07/06 04:57
Изменить комментарий:
Install extension [org.xwiki.platform:xwiki-platform-index-ui/17.5.0]
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
-
Объекты (1 изменено, 1 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Автор документа
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki.gav rikof1 +xwiki:XWiki.gav
- XWiki.WikiMacroClass[0]
-
- Код
-
... ... @@ -47,11 +47,16 @@ 47 47 #set ($limit = $services.rendering.escape($xcontext.macro.params.count, 'xwiki/2.1')) 48 48 #end 49 49 #set ($propertiesStr = $services.rendering.escape($stringtool.join($properties, ','), 'xwiki/2.1')) 50 +#set ($filtersDeclared = $xcontext.macro.params.parameterNames.contains('filters')) 51 +#if ($filtersDeclared) 52 + #set ($filters = $services.rendering.escape($xcontext.macro.params.filters, 'xwiki/2.1')) 53 +#end 50 50 {{liveData 51 51 id="$livedataId" 52 52 properties="$propertiesStr" 53 53 source="liveTable" 54 54 sourceParameters="$escapetool.url($sourceParameters)" 59 + #if ($filtersDeclared) filters="$filters"#end 55 55 #if ($description != '')description="$description"#end 56 56 #if ($properties.contains('doc.location'))sort="doc.location"#end 57 57 #if ($limit != '')limit="$limit"#end
- XWiki.WikiMacroParameterClass[8]
-
- Parameter advanced
-
... ... @@ -1,0 +1,1 @@ 1 +Да - Описание параметра
-
... ... @@ -1,0 +1,1 @@ 1 +Provide a default filter to apply in the documents Live Data - Обязательность параметра
-
... ... @@ -1,0 +1,1 @@ 1 +Нет - Имя параметра
-
... ... @@ -1,0 +1,1 @@ 1 +filters - Тип параметра
-
... ... @@ -1,0 +1,1 @@ 1 +Unknown