Hi,
You need to get an @Inject Provider<XWikiContext> contextProvider; declared
in your component on which you can then do inside a method
contxtProvider.get().getWiki().getDocument(...);
Hope this helps,
Eduard
On Mon, May 16, 2016 at 6:02 PM, abtv <andreybutov(a)mail.ru> wrote:
Maybe there is a way to execute a string with velocity
code from java code?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/How-to-grant-Delete-Right-for-all-registeā¦
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs