<
From version < 37.1 >
edited by Thomas Mortagne
on 2014/05/20
To version < 38.1 >
edited by Marius Dumitru Florea
on 2014/05/20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.mflorea
Content
... ... @@ -74,6 +74,13 @@
74 74  * [[XCOMMONS-582>>http://jira.xwiki.org/browse/XCOMMONS-582]]: ##$escapetool.json## should be used instead of ##$escapetool.javascript## for escaping manually constructed JSON; ##$jsontool.serialize## should be used for generating JSON, though, since it is safer.
75 75  * Introduced job progress helper API, see [[Job Module>>doc:extensions:Extension.Job Module||anchor="HNotifyaboutprogress"]] for more details.
76 76  * All component related API of ##com.xpn.xwiki.web.Utils## are now using the context ##ComponentManager## by default.
77 +* We added a new method to the component script service to access the component manager corresponding to a specific namespace:(((
78 +{{code language=""}}
79 +{{groovy}}
80 +def instanceForTestWiki = services.component.getComponentManager("wiki:test").getInstance(SomeRole.class)
81 +{{/groovy}}
82 +{{/code}}
83 +)))
77 77  
78 78  = Translations =
79 79  

Get Connected