Änderungen von Dokument SearchConfigClass

Zuletzt geändert von Daniel Herrmann am 2025/11/08 02:44

Von Version 1.1 Icon
bearbeitet von admin
am 2025/02/23 19:33
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-search-ui/17.0.0]
Auf Version Icon 2.1
bearbeitet von Daniel Herrmann
am 2025/11/08 02:44
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-search-ui/17.9.0]

Zusammenfassung

Details

Icon Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.dherrman
Icon XWiki.ClassSheetBinding[0]
Sheet
... ... @@ -1,0 +1,1 @@
1 +SearchConfigSheet
Icon engine
Custom Display
... ... @@ -1,0 +1,25 @@
1 +{{velocity}}
2 +{{html clean="false"}}
3 +#if ($type == 'edit' || $type == 'search')
4 + #set ($id = $escapetool.xml("${prefix}${name}"))
5 + #set ($disabled = $field.getProperty('disabled').value == 1)
6 + <select id="$id" name="$id"#if ($disabled) disabled#end>
7 + #set ($availableSearchExtensions = $services.uix.getExtensions('org.xwiki.platform.search', {'sortById' : ''}))
8 + #foreach ($availableSearchExtension in $availableSearchExtensions)
9 + <option value="$escapetool.xml($availableSearchExtension.id)"
10 + #if ($availableSearchExtension.id == $value) selected#end
11 + >$escapetool.xml($availableSearchExtension.parameters.label)</option>
12 + #end
13 + </select>
14 +#elseif ($type == 'view' || $type == 'rendered')
15 +$!escapetool.xml($value)##
16 +#elseif ($type == 'hidden')
17 + #set ($id = $escapetool.xml("${prefix}${name}"))
18 + <input type="hidden" id="$!id" name="$!id" value="$!escapetool.xml" />
19 +#else
20 + ## In order for the custom displayer to be taken into account, the result of its evaluation with an unknown display
21 + ## mode must not be empty. Let's output something.
22 + Unknown display mode.
23 +#end
24 +{{/html}}
25 +{{/velocity}}
Hint
... ... @@ -1,0 +1,1 @@
1 +search.admin.configuration.seexwikicfg
Icon exclusions
Name
... ... @@ -1,0 +1,1 @@
1 +exclusions
Pretty Name
... ... @@ -1,0 +1,1 @@
1 +Search exclusions
Relational Storage
... ... @@ -1,0 +1,1 @@
1 +1
Display Type
... ... @@ -1,0 +1,1 @@
1 +input
Multiple Select
... ... @@ -1,0 +1,1 @@
1 +1
Size
... ... @@ -1,0 +1,1 @@
1 +1
Join separator (for display)
... ... @@ -1,0 +1,1 @@
1 +
Cache
... ... @@ -1,0 +1,1 @@
1 +0
Hint
... ... @@ -1,0 +1,1 @@
1 +The pages to exclude from the search (along with their child pages)
Allow large strings
... ... @@ -1,0 +1,1 @@
1 +0
Number
... ... @@ -1,0 +1,1 @@
1 +2
Use Suggest
... ... @@ -1,0 +1,1 @@
1 +1