Changes for page test

Last modified by Jip-jan Alunkel on March 13, 19:02

From version 98.11
edited by Jip-jan Alunkel
on January 30, 15:46
Change comment: Updated class property
To version 98.15
edited by Jip-jan Alunkel
on January 30, 15:53
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -15,11 +15,13 @@
15 15  #set($page = $xwiki.getDocument($docrefb))
16 16  #set($parentReference = $services.model.resolveDocument('', 'default', $page.documentReference.lastSpaceReference).parent)
17 17  #set($parent = $xwiki.getDocument($parentReference))
18 -
19 -
18 +<br />
19 +$services.model.createDocumentReference($xcontext.mainWikiName, $docrefArrayB, 'WebHome')
20 20  $parent
21 -
22 -
21 +<br />
22 +#set($parentTitle = $docrefb.getName())
23 +$parentTitle
24 +<br />
23 23  ##set($obj = $doc.getObject('test.WebHome'))
24 24  ##set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
25 25  $doc.display("blaat")