Modifiche per il documento test
Ultima modifica di Jip-jan Alunkel il marzo 13, 19:02
Dalla versione 53.1
modificato da Jip-jan Alunkel
il luglio 10, 18:05
il luglio 10, 18:05
Cambia il commento:
Nessun commento per questa versione
Alla versione 44.1
modificato da Jip-jan Alunkel
il luglio 10, 17:56
il luglio 10, 17:56
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,13 +2,15 @@ 1 - 2 2 {{velocity}} 3 3 {{html wiki="true"}} 4 -#set ($doc x= $xwiki.getDocument("Main.WebHome"))5 -#set ($content = $doc x.getContent())6 -#set ($title = $doc x.getTitle())7 -#set ($contentex = $doc x.getTranslatedDocument("en").getContent())8 -#set ($titleex = $doc x.getTranslatedDocument("en").title)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) 9 9 10 -$contentex 9 +##$content 10 + 11 +##$services.rendering.render($contentex, "xhtml/1.0") 11 11 {{/html}} 12 12 {{/velocity}} 14 +{{include page="Main.WebHome"/}} 13 13