Changes for page test
Last modified by Jip-jan Alunkel on March 13, 19:02
From version 70.3
edited by Jip-jan Alunkel
on August 19, 20:09
on August 19, 20:09
Change comment:
Updated class property
To version 69.5
edited by Jip-jan Alunkel
on August 19, 20:06
on August 19, 20:06
Change comment:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,11 @@ 1 1 {{velocity}} 2 2 {{html wiki="true"}} 3 -##set($obj = $doc.getObject('test.WebHome')) 4 -##set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass 5 -$doc.display("blaat") 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 6 6 7 7 #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking")) 8 8 #set ($xobject = $doc.getObject('cases.Code.casesClass'))
- test.WebHome[0]
-
- blaat
-
... ... @@ -1,3 +1,0 @@ 1 -== Bladibla == 2 - 3 -Bladibla