Wiki source code of test
Version 76.1 by Jip-jan Alunkel on January 26, 16:43
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
69.2 | 1 | {{velocity}} |
![]() |
69.3 | 2 | {{html wiki="true"}} |
![]() |
72.2 | 3 | |
![]() |
76.1 | 4 | #set($dr = "bladibla.vinnymossel") |
5 | #set($docrefArray = $dr.split(".")) | ||
![]() |
75.1 | 6 | ##set($drSpaceA = $docrefArray[0]) |
7 | ##set($drSpaceB = $docrefArray[1]) | ||
![]() |
73.2 | 8 | #set($docref = $services.model.createDocumentReference($xcontext.mainWikiName, ['bladibla', 'vinnymossel'], 'WebHome')) |
![]() |
72.2 | 9 | |
10 | $docref | ||
11 | |||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 | |||
18 | |||
19 | |||
20 | |||
![]() |
70.3 | 21 | ##set($obj = $doc.getObject('test.WebHome')) |
22 | ##set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass | ||
![]() |
70.2 | 23 | $doc.display("blaat") |
![]() |
1.1 | 24 | |
![]() |
54.1 | 25 | #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking")) |
26 | #set ($xobject = $doc.getObject('cases.Code.casesClass')) | ||
![]() |
55.1 | 27 | #set ($xclass = $xobject.xWikiClass) |
28 | #foreach ($property in $xclass.properties) | ||
![]() |
60.1 | 29 | $xobject.getProperty($property.name).value |
30 | ## $property.name | ||
![]() |
55.1 | 31 | #end |
![]() |
67.1 | 32 | $stringtool.capitalize( "fred from jupiter" ) |
![]() |
55.1 | 33 | #* |
34 | #set ($xdoc=$xwiki.getDocument($Formulier)) | ||
35 | #set ($xobject = $xdoc.getObject('Main.Werkwijze.Formulieren.Code.FormulierenClass')) | ||
![]() |
54.1 | 36 | #set ($xclass = $xobject.xWikiClass) |
37 | #foreach ($property in $xclass.properties) | ||
38 | $property.Name | ||
39 | $property.value | ||
40 | #end | ||
![]() |
55.1 | 41 | |
42 | #set ($xclass = $xobject.xWikiClass) | ||
43 | #foreach ($property in $xclass.properties) | ||
44 | $property.Name | ||
45 | $property.value | ||
46 | #end | ||
47 | *# | ||
![]() |
61.1 | 48 | |
49 | $xwiki.getURL('.') | ||
![]() |
53.1 | 50 | {{/html}} |
![]() |
68.2 | 51 | |
![]() |
68.6 | 52 | $doc.display("blaat") |
![]() |
71.1 | 53 | |
![]() |
72.1 | 54 | $hasAdmin |
![]() |
47.1 | 55 | {{/velocity}} |
56 |