Last modified by Thomas Mortagne on 2023/10/13

<
From version < 24.1 >
edited by Thomas Mortagne
on 2015/06/22
To version < 25.1 >
edited by Guillaume Delhumeau
on 2015/06/23
>
Change comment: typo

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.gdelhumeau
Content
... ... @@ -94,7 +94,7 @@
94 94  {{code language="java"}}
95 95  @Inject
96 96  @Named("readonly")
97 -Povider<XWikiContext> roXWikiContextProvider;
97 +Provider<XWikiContext> roXWikiContextProvider;
98 98  {{/code}}
99 99  
100 100  The difference with default provider is that the readonly one won't try to create a new XWikiContext and will return null if it can't find any. It's been introduce for some low level components that were used during XWikiContext creation but in general it should be used by any component that only search for some XWikiContext property that might be null even in a valid XWikiContext.

Get Connected