Changes for document artchrome sandbox

From version 20.1
edited by olivier lizounat
on 2013/01/17 09:58
To version 31.1
edited by olivier lizounat
on 2013/01/17 10:44
Change comment: There is no comment for this version

Content changes

... ... @@ -1,9 +1,17 @@
1 1 {{velocity}}
2 +
2 2 #set ($d="Events.Cloud_Expo_Europe_2013")
3 -#set($obj = $xwiki.getDocument($d).getObject('QRVcards.QRVcardClass'))
4 +#set($currentDoc = $xwiki.getDocument("$d"))
5 +#set($obj = $xwiki.getDocument($d).getObject('XWiki.ArticleClass'))
6 +#set($syntaxId = $currentDoc.syntax.toIdString())
4 4 #set ($title=$obj.getProperty('title').getValue())
5 5 #set ($category=$obj.getProperty('category').getValue())
6 6 #set ($content=$obj.getProperty('content').getValue())
7 7 #set ($extract=$obj.getProperty('extract').getValue())
8 8 #set ($date=$obj.getProperty('dateevent').getValue())
9 -$title
12 +#set($rendered = $currentDoc.getRenderedContent($content, $syntaxId))
13 +
14 +{{html clean="true" wiki="false"}}
15 +<div style="width:300px">
16 +$escapetool.html($rendered)
17 +</div>

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4.4 - Documentation
Powered by XWiki Hosted by Xsalto Free PageRank Checker Creative Commons 2.0 license Legal Notice