Changes for page Creating XWiki Components
Last modified by Simon Urli on 2023/10/10
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -325,6 +325,8 @@ 325 325 List<Object> results = query.execute(); 326 326 {{/code}} 327 327 328 +NB: a reference to a ComponentManager can be obtained through injection, as explained on the [[Component module extension page>>extensions:Extension.Component Module#HGettingaccesstotheComponentManager]]. 329 + 328 328 == The XWiki context == 329 329 330 330 Note that the XWiki context is deprecated. It was an older way of keeping track of the current request, which had to be passed around from method to method, looking like a [[ball and chain>>http://en.wikipedia.org/wiki/Ball_and_chain]] present everywhere in the code. ... ... @@ -381,6 +381,6 @@ 381 381 382 382 Enjoy! 383 383 384 -= See also 386 += See also = 385 385 386 386 * [[extensions:Extension.Component Module]]