Wiki source code of Assignment3ClassSheet

Version 6.1 by Kenneth Latimer on 2009/02/04 23:17

Hide last authors
Kenneth Latimer 6.1 1 1 $doc.name
2 1.1 To-DO
3 TODOTEXT
Kenneth Latimer 1.1 4
5 ## Change class name to your class name
Kenneth Latimer 5.1 6 #set($class = $doc.getObject("CLASSDOC").xWikiClass)
Kenneth Latimer 1.1 7 #set($hasProps = false)
8 #foreach($prop in $class.properties)
9 #if($velocityCount == 1)
10 #set($hasProps = true)
11 <dl>
12 #end
13 <dt> ${prop.prettyName} </dt>
14 <dd>$doc.display($prop.getName())</dd>
15 #end
16 #if($hasProps)
17 </dl>
18 #end
19