Änderungen von Dokument User Directory Macros

Zuletzt geändert von admin am 2026/07/07 19:09

Von Version 3.1
bearbeitet von admin
am 2022/04/29 18:57
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-user-directory-ui/14.3]
Auf Version 5.1
bearbeitet von admin
am 2026/05/16 13:59
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-user-directory-ui/18.3.0]

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -97,7 +97,7 @@
97 97   'sortable': false,
98 98   'filterable': false
99 99   }))
100 - #elseif ($classPropertyType.endsWith('TextArea') || $classPropertyType.endsWith('Email') || $classPropertyType.endsWith('Groups'))
100 + #elseif ($classPropertyType.endsWith('TextArea') || $classPropertyType.endsWith('Email') || $classPropertyType.endsWith('Groups') || $classPropertyType == 'String')
101 101   #set ($columnProperties.html = true)
102 102   #end
103 103   #set ($discard = $columnsProperties.put($column, $columnProperties))
... ... @@ -238,8 +238,7 @@
238 238  #macro (displayProperty $propertyName $object $action)
239 239   #set ($propertyClass = $object.xWikiClass.get($propertyName))
240 240   #set ($isCheckbox = $propertyClass.getValue('displayFormType') == 'checkbox')
241 - #set ($fieldDisplay = $stringtool.removeEnd($stringtool.removeStart($object.display($propertyName, $action),
242 - '{{html clean="false" wiki="false"}}'), '{{/html}}'))
241 + #set ($fieldDisplay = "#unwrapXPropertyDisplay($object.display($propertyName, $action))")
243 243   <dt>
244 244   <label #if ($action == 'edit' && !$isCheckbox)
245 245   for="$escapetool.xml("${object.xWikiClass.name}_${object.number}_$propertyName")"#end>