Changes for page test

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

From version 54.1
edited by Jip-jan Alunkel
on July 10, 18:13
Change comment: There is no comment for this version
To version 50.1
edited by Jip-jan Alunkel
on July 10, 18:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,15 +1,13 @@
1 1  
2 2  {{velocity}}
3 -{{html wiki="true"}}
4 -#set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking"))
5 -#set ($xobject = $doc.getObject('cases.Code.casesClass'))
6 -$xobject.getProperty('remedy').value
3 +{{html wiki="false"}}
4 +#set ($docx = $xwiki.getDocument("Main.WebHome"))
5 +#set ($content = $docx.getContent())
6 +#set ($title = $docx.getTitle())
7 +#set ($contentex = $docx.getTranslatedDocument("en").getContent())
8 +#set ($titleex = $docx.getTranslatedDocument("en").title)
7 7  
8 -#set ($xclass = $xobject.xWikiClass)
9 -#foreach ($property in $xclass.properties)
10 - $property.Name
11 - $property.value
12 -#end
10 +$contentex
13 13  {{/html}}
14 14  {{/velocity}}
15 15