Changes for page test

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

From version 45.1
edited by Jip-jan Alunkel
on July 10, 17:56
Change comment: There is no comment for this version
To version 31.2
edited by Jip-jan Alunkel
on July 10, 17:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,2 +1,14 @@
1 -{{include page="Main.WebHome"/}}
1 +{{velocity}}
2 2  
3 +#set ($doc = $xwiki.getDocument("main.WebHome"))
4 +#set ($content = $doc.getRenderedContent())
5 +#set ($title = $doc.getTitle())
6 +#set ($contentex = $doc.getTranslatedDocument("en").content)
7 +#set ($titleex = $doc.getTranslatedDocument("en").title)
8 +
9 +$doc.getRenderedContent()
10 +
11 +$services.rendering.render($contentex, "xhtml/1.0")
12 +
13 +{{/velocity}}
14 +