Changes for page test

Last modified by Jip-jan Alunkel on March 13, 19:02

From version 69.1
edited by Jip-jan Alunkel
on August 19, 19:59
Change comment: Updated class property
To version 69.2
edited by Jip-jan Alunkel
on August 19, 20:04
Change comment: Updated class property

Summary

Details

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