Changes for page test
Last modified by Jip-jan Alunkel on March 13, 19:02
From version 65.1
edited by Jip-jan Alunkel
on August 15, 17:11
on August 15, 17:11
Change comment:
There is no comment for this version
To version 69.6
edited by Jip-jan Alunkel
on August 19, 20:06
on August 19, 20:06
Change comment:
Updated class property
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (0 modified, 1 added, 0 removed)
-
Class properties (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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 + ${prop.prettyName} 7 + $doc.display($prop.getName()) 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) ... ... @@ -8,7 +8,7 @@ 8 8 $xobject.getProperty($property.name).value 9 9 ## $property.name 10 10 #end 11 -$stringtool. firstLetterCaps( "fred from jupiter" )17 +$stringtool.capitalize( "fred from jupiter" ) 12 12 #* 13 13 #set ($xdoc=$xwiki.getDocument($Formulier)) 14 14 #set ($xobject = $xdoc.getObject('Main.Werkwijze.Formulieren.Code.FormulierenClass')) ... ... @@ -27,5 +27,7 @@ 27 27 28 28 $xwiki.getURL('.') 29 29 {{/html}} 36 + 37 +$doc.display("blaat") 30 30 {{/velocity}} 31 31
- test.WebHome[0]
-
- blaat
-
- Editor
-
... ... @@ -1,0 +1,1 @@ 1 +Wysiwyg - Pretty Name
-
... ... @@ -1,0 +1,1 @@ 1 +blaat - Rows
-
... ... @@ -1,0 +1,1 @@ 1 +8 - Number
-
... ... @@ -1,0 +1,1 @@ 1 +1 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +40 - Restricted
-
... ... @@ -1,0 +1,1 @@ 1 +0 - Name
-
... ... @@ -1,0 +1,1 @@ 1 +blaat - Use Suggest
-
... ... @@ -1,0 +1,1 @@ 1 +1