Changes for page test

Modificado por Jip-jan Alunkel em março 13, 19:02

From version 98.16
edited by Jip-jan Alunkel
on janeiro 30, 15:54
Change comment: Updated class property
To version 98.12
edited by Jip-jan Alunkel
on janeiro 30, 15:49
Change comment: Updated class property

Summary

Details

Page properties
Content
... ... @@ -15,13 +15,11 @@
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 -<br />
19 19  
19 +
20 20  $parent
21 -<br />
22 -#set($parentTitle = $docrefb.getName())
23 -$parentTitle
24 -<br />
21 +#set($parentTitle = $parentReference.getName()
22 +
25 25  ##set($obj = $doc.getObject('test.WebHome'))
26 26  ##set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
27 27  $doc.display("blaat")