Modifiche per il documento test
Ultima modifica di Jip-jan Alunkel il marzo 13, 19:02
Dalla versione 69.1
modificato da Jip-jan Alunkel
il agosto 19, 19:59
il agosto 19, 19:59
Cambia il commento:
Updated class property
Alla versione 69.6
modificato da Jip-jan Alunkel
il agosto 19, 20:06
il agosto 19, 20:06
Cambia il commento:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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 + ${prop.prettyName} 7 + $doc.display($prop.getName()) 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)