General Actions:
Log-in
Register
Wiki:
games
▼
:
Document Index
»
Space:
XWiki
▼
:
Document Index
»
Page:
ClassItemSheet
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Wiki Home
»
XWiki Space
»
Data types
»
Document ClassItemSheet
Wiki source code of
Document ClassItemSheet
Last modified by
Administrator
on 2006/12/15 10:10
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
## you can modify this page to customize the presentation of your object ## at first you should keep the default presentation ## save this template using the save button at the top left 1 Document $doc.name ## Change class name to your class name #set($class = $doc.getObject("XWiki.MyClass").xWikiClass) #set($hasProps = false) #foreach($prop in $class.properties) #if($velocityCount == 1) #set($hasProps = true) <dl> #end <dt> ${prop.prettyName} </dt> <dd>$doc.display($prop.getName())</dd> #end #if($hasProps) </dl> #end