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

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

От версии 68.3
отредактировано Jip-jan Alunkel
на августа 19, 19:58
Изменить комментарий: Added class property
К версии 69.3
отредактировано Jip-jan Alunkel
на августа 19, 20:04
Изменить комментарий: Updated class property

Сводка

Подробности

Свойства страницы
Содержимое
... ... @@ -1,6 +2,12 @@
1 -
2 2  {{velocity}}
3 3  {{html wiki="true"}}
3 +#set($obj = $doc.getObject('test.WebHome'))
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
9 +
4 4  #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking"))
5 5  #set ($xobject = $doc.getObject('cases.Code.casesClass'))
6 6  #set ($xclass = $xobject.xWikiClass)
... ... @@ -28,6 +28,6 @@
28 28  $xwiki.getURL('.')
29 29  {{/html}}
30 30  
31 -$doc.display("textarea")
37 +$doc.display("blaat")
32 32  {{/velocity}}
33 33  
AppWithinMinutes.TextArea[0]
Long Text
... ... @@ -1,1 +1,0 @@
1 -blabla
test.WebHome[0]
blaat
Rows
... ... @@ -1,1 +1,1 @@
1 -5
1 +8
Редактор
... ... @@ -1,0 +1,1 @@
1 +Wysiwyg
Ограниченный
... ... @@ -1,0 +1,1 @@
1 +0
Use Suggest
... ... @@ -1,0 +1,1 @@
1 +1