Wiki source code of test
Version 69.5 by Jip-jan Alunkel on August 19, 20:06
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
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 | ||
9 | |||
10 | #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking")) | ||
11 | #set ($xobject = $doc.getObject('cases.Code.casesClass')) | ||
12 | #set ($xclass = $xobject.xWikiClass) | ||
13 | #foreach ($property in $xclass.properties) | ||
14 | $xobject.getProperty($property.name).value | ||
15 | ## $property.name | ||
16 | #end | ||
17 | $stringtool.capitalize( "fred from jupiter" ) | ||
18 | #* | ||
19 | #set ($xdoc=$xwiki.getDocument($Formulier)) | ||
20 | #set ($xobject = $xdoc.getObject('Main.Werkwijze.Formulieren.Code.FormulierenClass')) | ||
21 | #set ($xclass = $xobject.xWikiClass) | ||
22 | #foreach ($property in $xclass.properties) | ||
23 | $property.Name | ||
24 | $property.value | ||
25 | #end | ||
26 | |||
27 | #set ($xclass = $xobject.xWikiClass) | ||
28 | #foreach ($property in $xclass.properties) | ||
29 | $property.Name | ||
30 | $property.value | ||
31 | #end | ||
32 | *# | ||
33 | |||
34 | $xwiki.getURL('.') | ||
35 | {{/html}} | ||
36 | |||
37 | $doc.display("blaat") | ||
38 | {{/velocity}} |