Änderungen von Dokument test

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

Von Version 68.4
bearbeitet von Jip-jan Alunkel
am August 19, 19:58
Änderungskommentar: Updated class property
Auf Version 69.2
bearbeitet von Jip-jan Alunkel
am August 19, 20:04
Änderungskommentar: Updated class property

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -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'))
... ... @@ -28,6 +28,6 @@
28 28  $xwiki.getURL('.')
29 29  {{/html}}
30 30  
31 -$doc.display("textarea")
37 +$doc.display("blaat")
32 32  {{/velocity}}
33 33  
AppWithinMinutes.TextArea[0]
Long Text
... ... @@ -1,1 +1,0 @@
1 -blabla
test.WebHome[0]