Wijzigen voor document test

Laatst gewijzigd door Jip-jan Alunkel op maart 13, 19:02

Van versie 68.6
gewijzigd door Jip-jan Alunkel
op augustus 19, 19:59
Opmerking bij wijziging: Updated class property
Naar versie 69.4
gewijzigd door Jip-jan Alunkel
op augustus 19, 20:05
Opmerking bij wijziging: Updated class property

Samenvatting

Details

Paginaeigenschappen
Inhoud
... ... @@ -1,6 +2,12 @@
1 -
2 2  {{velocity}}
3 3  {{html wiki="true"}}
3 +#set($obj = $doc.getObject('test.WebHome'))
4 +#set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
5 +#foreach($prop in $class.properties) ## go through all properties
6 + <dt> *${prop.prettyName}* </dt>
7 + <dd>$doc.display($prop.getName())</dd>
8 +#end
9 +
4 4  #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking"))
5 5  #set ($xobject = $doc.getObject('cases.Code.casesClass'))
6 6  #set ($xclass = $xobject.xWikiClass)