Wiki source code of Assignment9ClassSheet

Last modified by Hal Eden on 2010/08/20 11:06

Hide last authors
Hal Eden 1.1 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
6 ## Change class name to your class name
7 #set($class = $doc.getObject("DSSF2008.Assignment9Class").xWikiClass)
8 #set($hasProps = false)
9 #foreach($prop in $class.properties)
10 #if($velocityCount == 1)
11 #set($hasProps = true)
12 <dl>
13 #end
14 <dt> ${prop.prettyName} </dt>
15 <dd>$doc.display($prop.getName())</dd>\\
16 #end
17 #if($hasProps)
18 </dl>
19 #end
20