Modifications pour le document SearchConfigClass

Modifié par Florent Charton le 2026/01/13 15:01

Depuis la version 1.1
modifié par superadmin
sur 2022/06/20 08:49
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-search-ui/13.10.6]
À la version 2.1
modifié par Florent Charton
sur 2026/01/13 15:01
Commentaire de modification : Install extension [org.xwiki.platform:xwiki-platform-search-ui/17.10.2]

Résumé

Détails

Propriétés de la Page
Auteur du document
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +xwiki:XWiki.fcharton
XWiki.ClassSheetBinding[0]
Sheet
... ... @@ -1,0 +1,1 @@
1 +SearchConfigSheet
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
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