Changes for page test
Last modified by Jip-jan Alunkel on March 13, 19:02
From version 98.74
edited by Jip-jan Alunkel
on January 30, 19:35
on January 30, 19:35
Change comment:
Updated class property
To version 98.76
edited by Jip-jan Alunkel
on January 30, 19:36
on January 30, 19:36
Change comment:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,12 +2,13 @@ 2 2 {{html wiki="true"}} 3 3 4 4 #set($dr = "bladibla.vinnymossel.hahahha.hohjoho") 5 + #set($docrefArray = []) 5 5 #set($lastIndex = $dr.lastIndexOf('.')) 6 6 #set($docrefSemafore = $dr.substring(0, $lastIndex).split("\.")) 7 7 #foreach($elem in $docrefSemafore) 8 8 #set($discard = $docrefArray.add("${elem}")) 9 9 #end 10 - #set($last = "$docref.substring($lastIndex + 1)")11 + #set($last = $docref.substring($lastIndex + 1)) 11 11 #set($xdocref = $services.model.createDocumentReference($xcontext.mainWikiName, $docrefArray, "${last}")) 12 12 <br /> 13 13 parentb: $xdocref