Wijzigen voor document test

Laatst gewijzigd door Jip-jan Alunkel op maart 13, 19:02

Van versie 76.1
gewijzigd door Jip-jan Alunkel
op januari 26, 16:43
Opmerking bij wijziging: Updated class property
Naar versie 69.5
gewijzigd door Jip-jan Alunkel
op augustus 19, 20:06
Opmerking bij wijziging: Updated class property

Samenvatting

Details

Paginaeigenschappen
Inhoud
... ... @@ -1,27 +1,12 @@
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 +#foreach($prop in $class.properties) ## go through all properties
6 + <dt>${prop.prettyName}</dt>
7 + <dd>$doc.display($prop.getName())</dd>
8 +#end
3 3  
4 -#set($dr = "bladibla.vinnymossel")
5 -#set($docrefArray = $dr.split("."))
6 -##set($drSpaceA = $docrefArray[0])
7 -##set($drSpaceB = $docrefArray[1])
8 -#set($docref = $services.model.createDocumentReference($xcontext.mainWikiName, ['bladibla', 'vinnymossel'], 'WebHome'))
9 -
10 -$docref
11 -
12 -
13 -
14 -
15 -
16 -
17 -
18 -
19 -
20 -
21 -##set($obj = $doc.getObject('test.WebHome'))
22 -##set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
23 -$doc.display("blaat")
24 -
25 25  #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking"))
26 26  #set ($xobject = $doc.getObject('cases.Code.casesClass'))
27 27  #set ($xclass = $xobject.xWikiClass)
... ... @@ -50,7 +50,5 @@
50 50  {{/html}}
51 51  
52 52  $doc.display("blaat")
53 -
54 -$hasAdmin
55 55  {{/velocity}}
56 56  
test.WebHome[0]
blaat
... ... @@ -1,3 +1,0 @@
1 -== Bladibla ==
2 -
3 -Bladibla