General Actions:
Log-in
Register
Home
▼
:
Wiki Index
»
Space:
XWiki
»
Page:
UIExtensionSheet
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to bytebang
»
XWiki Space
»
UI Extension Class
»
User Interface Extension Sheet
Wiki source code of
User Interface Extension Sheet
Last modified by
Administrator
on 2014/06/29 19:29
Content
·
Attachments
(0)
·
Information
Hide line numbers
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}}