Vincent said: 
>> Using Utils.getRootComponentManager() worked for me, so many thanks. 
>> Even using a deprecated method lets me progress with the task.
>
> The recommended way is the one I’ve now documented at 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module#HAccessfromScripts

Thanks very much. Using services.component.getComponentManager(null) worked 
fine. FWIW I see that the the related problem I observed on your website 
http://platform.xwiki.org/xwiki/bin/view/SRD/  was down to 
Utils.getComponentManager() being called from 
AppWithinMinutes.DynamicMessageTool, which has since been updated in XWiki 
6.3. It might be worth backporting a fix so that we can access the 
mentioned page.

Again, many thanks for the prompt help and responses.

Bryn
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to