I have added a section and item under "space admin". I have an XWork Action with a velocity template.
In my velocity template i added '<meta name="decorator" content="atl.admin" />' but this adds the admin decorator. atl.global and the others are wrong too. So, how can i achieve the same look and feel for custom configuration items under "space admin"?
Kind regards
Community moderators have prevented the ability to post new answers.
Take a look at the spaceusage.action of the Viewtracker Plugin. The following files are important:
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know, the only thing you need to do is to use the /admin/* namespace for your action. Here is an example:
<xwork key="yourplugin-xwork-actions" name="Yourplugin XWork Actions"> <package name="yourplugin-admin" extends="default" namespace="/admin/plugins/yourplugin"> <default-interceptor-ref name="defaultStack" /> <action name="youraction" class="com.example.confluence.plugins.action.YourAction"> <result name="success" type="velocity">/templates/youraction.vm</result> </action> </package> <description>Your description here.</description> </xwork>
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, didn't read your question correctly. This answers is only for global admin section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.