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 48.1
edited by Jip-jan Alunkel
on July 10, 18:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,15 +1,12 @@
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 +#set ($docx = $xwiki.getDocument("Main.WebHome"))
4 +#set ($content = $docx.getContent())
5 +#set ($title = $docx.getTitle())
6 +#set ($contentex = $docx.getTranslatedDocument("en").getContent())
7 +#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
13 -{{/html}}
9 +$contentex
10 +
14 14  {{/velocity}}
15 15