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

Summary

Details

Page properties
Content
... ... @@ -1,15 +2,15 @@
1 -
2 2  {{velocity}}
3 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 ($doc = $xwiki.getDocument("Main.WebHome"))
4 +#set ($content = $doc.getContent())
5 +#set ($title = $doc.getTitle())
6 +#set ($contentex = $doc.getTranslatedDocument("en").content)
7 +#set ($titleex = $doc.getTranslatedDocument("en").title)
7 7  
8 -#set ($xclass = $xobject.xWikiClass)
9 -#foreach ($property in $xclass.properties)
10 - $property.Name
11 - $property.value
12 -#end
9 +$content
10 +
11 +##$services.rendering.render($contentex, "xhtml/1.0")
13 13  {{/html}}
14 14  {{/velocity}}
14 +{{include page="Main.WebHome"/}}
15 15