Re: [xwiki-users] Extending administrative ui
Thanks for Your answers I modified AdminSheet and adden my section in admin menu map pointing to my newly created sheet. Created my own sheet displaying edit form (based on AdminFieldsDisplaySheet) with parameters I adeded to XWikiPreferences. I configured it for displaying under space admin also. And for now I'm happy with this sollution :) Best regards Karol -- View this message in context: http://xwiki.475771.n2.nabble.com/Extending-administrative-ui-tp7589610p7589764.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Extending administrative ui
Hi, I think it may be possible using the ConfigurableClass [1]. BR, Jeremie [1] - http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HMakingyourapplicationeasilyconfigurablewithConfigurableClass28SinceEnterprise2.3M129 2014-03-17 11:33 GMT+01:00 kalor k.koscio...@mnlabs.pl: Hi, How is it possible to extend xwiki administrative ui to add my custom configuration forms? For example, I extended XWikiPreferences class by adding some fields, and now I want to be able to configure them through admin ui, not object editor. I will be gratefull for any tips. Best regards Karol -- View this message in context: http://xwiki.475771.n2.nabble.com/Extending-administrative-ui-tp7589610.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Extending administrative ui
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-tp7589610p7589615.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Extending administrative ui
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.koscio...@mnlabs.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-tp7589610p7589615.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Extending administrative ui
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HMakingyourapplicationeasilyconfigurablewithConfigurableClass28SinceEnterprise2.3M129 On Mon, Mar 17, 2014 at 4:40 PM, Jeremie BOUSQUET jeremie.bousq...@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.koscio...@mnlabs.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-tp7589610p7589615.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Extending administrative ui
Right, I missed it sorry. On Mon, Mar 17, 2014 at 5:15 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: 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.morta...@xwiki.com: See http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HMakingyourapplicationeasilyconfigurablewithConfigurableClass28SinceEnterprise2.3M129 On Mon, Mar 17, 2014 at 4:40 PM, Jeremie BOUSQUET jeremie.bousq...@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.koscio...@mnlabs.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-tp7589610p7589615.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users