Changes for page test

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

From version 53.1
edited by Jip-jan Alunkel
on July 10, 18:05
Change comment: There is no comment for this version
To version 54.1
edited by Jip-jan Alunkel
on July 10, 18:13
Change comment: There is no comment for this version

Summary

Details

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