Changes for page test
Last modified by Jip-jan Alunkel on March 13, 19:02
From version 69.2
edited by Jip-jan Alunkel
on August 19, 20:04
on August 19, 20:04
Change comment:
Updated class property
To version 59.1
edited by Jip-jan Alunkel
on July 10, 18:25
on July 10, 18:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (0 modified, 0 added, 1 removed)
-
Class properties (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,20 +8,14 @@ 1 -{{velocity}} 2 -#set($obj = $doc.getObject('test.WebHome')) 3 -#set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass 4 -#foreach($prop in $class.properties) ## go through all properties 5 - <dt> *${prop.prettyName}* </dt> 6 - <dd>$doc.display($prop.getName())</dd> 7 -#end 8 8 2 +{{velocity}} 9 9 {{html wiki="true"}} 10 10 #set ($doc=$xwiki.getDocument("cases.ear.ears fell off while biking")) 11 11 #set ($xobject = $doc.getObject('cases.Code.casesClass')) 12 12 #set ($xclass = $xobject.xWikiClass) 13 13 #foreach ($property in $xclass.properties) 14 - $xobject.getProperty( $property.name).value15 - ##$property.name8 +## $xobject.getProperty('remedy').value 9 + $property.name 16 16 #end 17 - $stringtool.capitalize( "fred from jupiter" )11 + 18 18 #* 19 19 #set ($xdoc=$xwiki.getDocument($Formulier)) 20 20 #set ($xobject = $xdoc.getObject('Main.Werkwijze.Formulieren.Code.FormulierenClass')) ... ... @@ -30,10 +30,6 @@ 30 30 $property.value 31 31 #end 32 32 *# 33 - 34 -$xwiki.getURL('.') 35 35 {{/html}} 36 - 37 -$doc.display("blaat") 38 38 {{/velocity}} 39 39
- test.WebHome[0]
-
- blaat
-
- Editor
-
... ... @@ -1,1 +1,0 @@ 1 -Wysiwyg - Pretty Name
-
... ... @@ -1,1 +1,0 @@ 1 -blaat - Rows
-
... ... @@ -1,1 +1,0 @@ 1 -8 - Number
-
... ... @@ -1,1 +1,0 @@ 1 -1 - Size
-
... ... @@ -1,1 +1,0 @@ 1 -40 - Restricted
-
... ... @@ -1,1 +1,0 @@ 1 -0 - Name
-
... ... @@ -1,1 +1,0 @@ 1 -blaat - Use Suggest
-
... ... @@ -1,1 +1,0 @@ 1 -1