Confluence Docs 3.0 : UPT 3.1 - Linking Using Web UI Plugins
This page last changed on Aug 03, 2006 by cmiller.
Web UI Plugins allow plugin authors to insert links to their custom actions or servlets directly into the Confluence UI, at predetermined locations. The implementation is pretty simple: for the most part you don't need any custom code to implement them, you just need to add their definitions to atlassian-plugin.xml. For my userinfo plugin, I am going to create a link to my custom action in the user's profile, just where they would edit any of their other account details: <web-item key="edituserinfo" name="Edit Profile" section="system.profile.edit/yourprofile" weight="20"> <label key="Contact Details" /> <link>/users/userinfo/edituserinfo.action</link> </web-item> Some notes:
Now the link points to where we want it to, but when you follow the link, you're blown out of the theme's tab layout. This is what we fix by adding a decorator to the form template. |
![]() |
Document generated by Confluence on Nov 05, 2009 23:34 |