Changes for page test
Last modified by Jip-jan Alunkel on March 13, 19:02
From version 111.1
edited by Jip-jan Alunkel
on February 12, 16:34
on February 12, 16:34
Change comment:
Updated class property
To version 98.78
edited by Jip-jan Alunkel
on January 30, 19:40
on January 30, 19:40
Change comment:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,17 +2,14 @@ 2 2 {{html wiki="true"}} 3 3 4 4 #set($dr = "bladibla.vinnymossel.hahahha.hohjoho") 5 -#set($drDoc = $xwiki.getDocument("cases.back.Asdfasdf asdff.WebHome")) 6 -$drDoc.getTitle() 7 -$drDoc.getParent() 8 -#set($docrefArray = []) 9 -#set($lastIndex = $dr.lastIndexOf('.')) 10 -#set($docrefSemafore = $dr.substring(0, $lastIndex).split("\.")) 11 -#foreach($elem in $docrefSemafore) 12 - #set($discard = $docrefArray.add("${elem}")) 13 -#end 14 -#set($last = "$dr.substring($lastIndex + 1)") 15 -#set($xdocref = $services.model.createDocumentReference($xcontext.mainWikiName, $docrefArray, $last)) 5 + #set($docrefArray = []) 6 + #set($lastIndex = $dr.lastIndexOf('.')) 7 + #set($docrefSemafore = $dr.substring(0, $lastIndex).split("\.")) 8 + #foreach($elem in $docrefSemafore) 9 + #set($discard = $docrefArray.add("${elem}")) 10 + #end 11 + #set($last = "$dr.substring($lastIndex + 1)") 12 + #set($xdocref = $services.model.createDocumentReference($xcontext.mainWikiName, $docrefArray, $last)) 16 16 <br /> 17 17 parentb: $xdocref 18 18 <br /> ... ... @@ -32,7 +32,22 @@ 32 32 ## $property.name 33 33 #end 34 34 $stringtool.capitalize( "fred from jupiter" ) 32 +#* 33 +#set ($xdoc=$xwiki.getDocument($Formulier)) 34 +#set ($xobject = $xdoc.getObject('Main.Werkwijze.Formulieren.Code.FormulierenClass')) 35 +#set ($xclass = $xobject.xWikiClass) 36 +#foreach ($property in $xclass.properties) 37 + $property.Name 38 + $property.value 39 +#end 35 35 41 +#set ($xclass = $xobject.xWikiClass) 42 +#foreach ($property in $xclass.properties) 43 + $property.Name 44 + $property.value 45 +#end 46 +*# 47 + 36 36 $xwiki.getURL('.') 37 37 {{/html}} 38 38