Изменения документа test
Редактировал(а) Jip-jan Alunkel марта 13, 19:02
От версии 98.15
отредактировано Jip-jan Alunkel
на января 30, 15:53
на января 30, 15:53
Изменить комментарий:
Updated class property
К версии 98.13
отредактировано Jip-jan Alunkel
на января 30, 15:49
на января 30, 15:49
Изменить комментарий:
Updated class property
Сводка
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -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 - $services.model.createDocumentReference($xcontext.mainWikiName, $docrefArrayB, 'WebHome')18 + 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")