Änderungen von Dokument test

Zuletzt geändert von Jip-jan Alunkel am März 13, 19:02

Von Version 72.1
bearbeitet von Jip-jan Alunkel
am August 22, 21:46
Änderungskommentar: Updated class property
Auf Version 70.1
bearbeitet von Jip-jan Alunkel
am August 19, 20:07
Änderungskommentar: Updated class property

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -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 + ${prop.prettyName}
7 + $doc.display($prop.getName())
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'))
... ... @@ -32,7 +32,5 @@
32 32  {{/html}}
33 33  
34 34  $doc.display("blaat")
35 -
36 -$hasAdmin
37 37  {{/velocity}}
38 38