Changes for page Extension Point Tutorial
Last modified by Ecaterina Moraru (Valica) on 2017/10/10
Change comment:
Fix style
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. evalica1 +XWiki.VincentMassol - Content
-
... ... @@ -35,8 +35,7 @@ 35 35 36 36 Your UIExtension can define its own extension points, where other extensions can plug in. Here is an example of velocity code to include in your extension in order to make it an entry point for others: 37 37 38 -* Without parameters: 39 - 38 +* Without parameters:((( 40 40 {{code language="velocity"}} 41 41 {{velocity}} 42 42 #foreach ($extension in $services.uix.getExtensions("my.new.extension.point")) ... ... @@ -44,9 +44,8 @@ 44 44 #end 45 45 {{/velocity}} 46 46 {{/code}} 47 - 48 -* Display the parameters: 49 - 46 +))) 47 +* Display the parameters:((( 50 50 {{code language="velocity"}} 51 51 {{velocity}} 52 52 #set ($extensions = $services.uix.getExtensions('my.new.extension.point', {'sortById' : ''})) ... ... @@ -55,9 +55,8 @@ 55 55 #end 56 56 {{/velocity}} 57 57 {{/code}} 58 - 59 -* Test the parameter for a particular value: 60 - 56 +))) 57 +* Test the parameter for a particular value:((( 61 61 {{code language="velocity"}} 62 62 {{velocity}} 63 63 #foreach ($extension in $services.uix.getExtensions("my.new.extension.point")) ... ... @@ -68,3 +68,4 @@ 68 68 #end 69 69 {{/velocity}} 70 70 {{/code}} 68 +)))