Changes for page test
Modificado por Jip-jan Alunkel em março 13, 19:02
From version 25.1
edited by Jip-jan Alunkel
on julho 10, 17:34
on julho 10, 17:34
Change comment:
There is no comment for this version
To version 23.1
edited by Jip-jan Alunkel
on julho 10, 17:33
on julho 10, 17:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,10 +3,10 @@ 3 3 #set ($docx = $xwiki.getDocument("main.WebHome")) 4 4 #set ($content = $docx.getContent()) 5 5 #set ($title = $docx.getTitle()) 6 -#set ($contentex = $docx.getTranslatedDocument( "en").content)7 -#set ($titleex = $docx.getTranslatedDocument( "en").title)6 +##set ($contentex = $docx.getTranslatedDocument($!request.language).content) 7 +##set ($titleex = $docx.getTranslatedDocument($!request.language).title) 8 8 9 -$content ex9 +$content 10 10 11 11 {{/velocity}} 12 12