Changes for page test
Last modified by Jip-jan Alunkel on March 13, 19:02
From version 111.4
edited by Jip-jan Alunkel
on February 12, 16:37
on February 12, 16:37
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,20 +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")) 6 -$page.documentReference 7 -$drDoc.getTitle() 8 -$drDoc.getParent() 9 -$drDoc.getSpace() 10 - 11 -#set($docrefArray = []) 12 -#set($lastIndex = $dr.lastIndexOf('.')) 13 -#set($docrefSemafore = $dr.substring(0, $lastIndex).split("\.")) 14 -#foreach($elem in $docrefSemafore) 15 - #set($discard = $docrefArray.add("${elem}")) 16 -#end 17 -#set($last = "$dr.substring($lastIndex + 1)") 18 -#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)) 19 19 <br /> 20 20 parentb: $xdocref 21 21 <br /> ... ... @@ -35,7 +35,22 @@ 35 35 ## $property.name 36 36 #end 37 37 $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 38 38 41 +#set ($xclass = $xobject.xWikiClass) 42 +#foreach ($property in $xclass.properties) 43 + $property.Name 44 + $property.value 45 +#end 46 +*# 47 + 39 39 $xwiki.getURL('.') 40 40 {{/html}} 41 41