General Actions:
Log-in
Register
Home
▼
:
Wiki Index
»
Space:
Panels
»
Page:
PanelSheet
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to bytebang
»
XWiki Space
»
Data types
»
Panel Class
»
PanelSheet
Wiki source code of
PanelSheet
Last modified by
Administrator
on 2014/06/29 19:28
Content
·
Comments
(0)
·
Attachments
(0)
Hide line numbers
1: {{velocity output="false"}} 2: #macro(displayPanelProperty $obj $propName) 3: ; #if ($xcontext.action == 'inline') 4: {{html}}<label for="${class.getName()}_${obj.number}_${propName}">$services.localization.render("${class.getName()}_${propName}")</label>{{/html}} 5: #else 6: $services.localization.render("${class.getName()}_${propName}") 7: #end 8: : $doc.display($propName, $obj) 9: #end 10: 11: #set ($paneldoc = $doc) 12: {{/velocity}} 13: 14: {{velocity}} 15: #set ($obj = $doc.getObject('Panels.PanelClass')) 16: #if ($obj) 17: #set($class = $obj.xWikiClass) 18: #displayPanelProperty($obj 'name') 19: #displayPanelProperty($obj 'type') 20: #displayPanelProperty($obj 'category') 21: #displayPanelProperty($obj 'description') 22: #displayPanelProperty($obj 'content') 23: #end 24: {{/velocity}}
Blog Categories
Database
(6)
Electronics
(17)
Ham Radio
(15)
Programming
(50)
System Administration
(39)
Virtualisation
(6)
Get Social
Tweet
Show some love
Do you like ths blog ?
... Buy me a beer!
1Ja5cxfZcRd5ufXNE 9g6vAAJTnQ4ToGaoD