Hi,
I want to write a plugin that allows to configure some page related parameters. I have added a web item "Add Configuration" to the tool menu and also an xwork action that opens a velocity template. The page to be displayed should look similar to the "Page Information" page. The boxes will be replaced by my UI, but I want to have the same information at the top (title, View Page link, etc.). Is there a smart to keep these elements? Right now my basic template look like below, but the elements got lost. Do I have to replicate them all by hand?
Thanks!
<html>
<head>
<title>$generalUtil.htmlEncode($pageTitle)</title>
<meta name="decorator" content="atl.general"/>
#requireResource("confluence.web.resources:aui-forms")
</head>
#applyDecorator("root")
#decoratorParam("helper" $action.helper)
#applyDecorator ("root")
#decoratorParam ("context" "page")
<body>
<div class="pagecontent">
<p>Insert your input form here.</p>
</div>
</body>
#end
#end
</html>
Community moderators have prevented the ability to post new answers.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Apply agile practices
Transform how you manage your work with agile practices, including kanban and scrum frameworks.
Learning Path
Configure agile boards for Jira projects
Learn how to create and configure agile Jira boards so you can plan, prioritize, and estimate upcoming work.
Jira Essentials with Agile Mindset
Suitable for beginners, this live instructor-led full-day course will set up your whole team to understand how to use Jira with an agile methodology.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.