General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
Panels
▼
:
Document Index
»
Page:
PanelSheet
Search
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
XWiki Space
»
Data types
»
Panel Class
»
Panel Sheet
Wiki source code of
Panel Sheet
Last modified by
Administrator
on 2012/03/21 17:40
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
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}">$msg.get("${class.getName()}_${propName}")</label>{{/html}} 5: #else 6: $msg.get("${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}}