Wiki source code of Assignment4ClassSheet

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

Show last authors
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