Изменения документа test

Редактировал(а) Jip-jan Alunkel марта 13, 19:02

От версии 69.5
отредактировано Jip-jan Alunkel
на августа 19, 20:06
Изменить комментарий: Updated class property
К версии 70.2
отредактировано Jip-jan Alunkel
на августа 19, 20:08
Изменить комментарий: Updated class property

Сводка

Подробности

Свойства страницы
Содержимое
... ... @@ -2,10 +2,7 @@
2 2  {{html wiki="true"}}
3 3  #set($obj = $doc.getObject('test.WebHome'))
4 4  #set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
5 -#foreach($prop in $class.properties) ## go through all properties
6 - <dt>${prop.prettyName}</dt>
7 - <dd>$doc.display($prop.getName())</dd>
8 -#end
5 +$doc.display("blaat")
9 9  
10 10  #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking"))
11 11  #set ($xobject = $doc.getObject('cases.Code.casesClass'))
test.WebHome[0]
blaat
... ... @@ -1,0 +1,3 @@
1 +== Bladibla ==
2 +
3 +Bladibla