Yes same link I pasted already ;-)
I'm wondering, if it's possible to have this ConfigurableClass show this
specific Sheet in Administration UI, globally and for each Space, as
requested by kalor.
Or if, as I understand it, your choice is only to show it in global admin
ui, or in admin ui of the Space where reside the application (ie, only when
administering space "XWiki", in this case).
2014-03-17 17:08 GMT+01:00 Thomas Mortagne <thomas.mortagne(a)xwiki.com>om>:
See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Applica…
On Mon, Mar 17, 2014 at 4:40 PM, Jeremie BOUSQUET
<jeremie.bousquet(a)gmail.com> wrote:
Hello,
In fact ConfigurableClass allows you to "plug" a specific Sheet (used to
fill some properties from a class from an object from a specific page) in
the admin UI of XWiki.
So you can normally:
- add some properties to the class XWiki.XWikiPreferences
- create a page containing a Sheet to view/edit those new properties
- (create a page holding an object for those properties) --> this is
already the preferences pages
- add a ConfigurableClass object to "plug" your sheet into the admin UI.
As
it should be added to the page that holds
configuration, I think you have
to add it to the XWiki.XWikiPreferences page.
The Sheet will show properties you want from XWiki.XWikiPreferences
class,
and so when you save it will update the
preferences object of the page.
For
the configuration on Space per Space basis I
suppose it's the purpose of
the option "configureGlobally" - but I never tested that.
I'm not sure I'm very clear ... :)
BR,
Jeremie
2014-03-17 12:59 GMT+01:00 kalor <k.kosciolek(a)mnlabs.pl>pl>:
> Thank you for your answer.
> If I understand it correctly this will work for some document I create
> adding ConfigurableClass and my custom class with configuration, and
will
> be
> shown in configuration for space where my document is created.
>
> But is there a way to use XWikiPreferences extended by some properties
and
> edit those new properties in admin ui? Or is
there a way to use custom
> class
> in the manner XWikiPreferences is used? Generaly I want to make some
custom
> configurations per space, and I want to use
getSpacePreference(...)
method
> of XWiki api (using XWikiPreferences would be
best for me)
>
> Best regards
> Karol
>
>
>
> --
> View this message in context:
>
http://xwiki.475771.n2.nabble.com/Extending-administrative-ui-tp7589610p758…
Sent from
the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org