Wiki source code of Assignment4ClassSheet
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | #set($class = $doc.getObject("CLASSDOC").xWikiClass) | ||
| 2 | #set($hasProps = false) | ||
| 3 | #foreach($prop in $class.properties) | ||
| 4 | #if($velocityCount == 1) | ||
| 5 | #set($hasProps = true) | ||
| 6 | <dl> | ||
| 7 | #end | ||
| 8 | <dt> ${prop.prettyName} </dt> | ||
| 9 | <dd>$doc.display($prop.getName())</dd> | ||
| 10 | #end | ||
| 11 | #if($hasProps) | ||
| 12 | </dl> | ||
| 13 | #end |