Wiki-Quellcode von User Interface Extension Sheet
Zuletzt geändert von admin am 2025/02/23 10:22
Zeige letzte Bearbeiter
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #set ($class = $doc.getObject('XWiki.UIExtensionClass').xWikiClass) | ||
| 3 | #foreach ($uix in $doc.getObjects('XWiki.UIExtensionClass')) | ||
| 4 | = UIExtension $uix.number = | ||
| 5 | #foreach ($prop in $class.properties) | ||
| 6 | ; $prop.prettyName | ||
| 7 | #if ($prop.getType() == 'TextAreaClass') | ||
| 8 | : (% class="box" %)((({{{$uix.getProperty($prop.getName()).getValue()}}}))) | ||
| 9 | #else | ||
| 10 | : $doc.display($prop.getName(), $uix) | ||
| 11 | #end | ||
| 12 | #end | ||
| 13 | #end | ||
| 14 | {{/velocity}} |