Changes for page Velocity API
Last modified by Admin on 2024/03/28 10:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. Admin1 +xwiki:XWiki.VincentMassol
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -90,3 +90,17 @@ 90 90 ... 91 91 {{/code}} 92 92 93 +Starting with XWiki 8.3M2/7.4.5/8.1.2, it's possible to name the Velocity variable in which the exception will be saved. For example: 94 + 95 +{{code language="velocity"}} 96 +{{velocity}} 97 +#try("myexception") 98 +$services.query.xwql("zzzzz").execute() 99 +#end 100 + 101 +#if ($myexception != '') 102 + ... do something... 103 +#end 104 +{{/velocity}} 105 +{{/code}} 106 + - Show installed count
-
... ... @@ -1,0 +1,1 @@ 1 +Yes