Changes for page test

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

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

Summary

Details

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