Wiki source code of SchedulerJobClassSheet
Last modified by Raffaello Pelagalli on 2008/04/08 21:50
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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 |