General Actions:
Log-in
Wiki:
L3D's Wiki
▼
:
Document Index
»
Space:
XWiki
▼
:
Document Index
»
Page:
ClassItemSheet
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to your wiki
»
XWiki Space
»
Data types
»
Document ClassItemSheet
Wiki source code of
Document ClassItemSheet
Last modified by
Administrator
on 2006/12/15 03:10
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: ## You can modify this page to customize the presentation of your object 2: ## at first you should keep the default presentation. 3: ## Save this template using the save button. 4: 5: 1 Document $doc.name 6: 7: ## Change class name to your class name 8: #set($class = $doc.getObject("XWiki.MyClass").xWikiClass) 9: #set($hasProps = false) 10: #foreach($prop in $class.properties) 11: #if($velocityCount == 1) 12: #set($hasProps = true) 13: <dl> 14: #end 15: <dt> ${prop.prettyName} </dt> 16: <dd>$doc.display($prop.getName())</dd> 17: #end 18: #if($hasProps) 19: </dl> 20: #end
Quick Links
L3D Calendar
Wiki Dashboard
Document Index
Blog
Sandbox