I have created a webitem that comes under the project Administration page, I want the page that comes after the webitem click, to be displayed inside the project adminstration block itself, instead of opening it in new one.
In the given screenshot below, i want the page to be like Development tools, which has been opened in same page when i clicked the developmenttools webitem.
Your velocity needs to include some META tags.
#set ( $project = $action.getProject() )
<html>
<head>
<title>Your Configuration</title>
<meta name="decorator" content="admin"/>
<meta name="projectKey" content="$project.getKey()"/>
<meta name="projectId" content="$project.getId()"/>
<meta name="admin.active.tab" content="your_project_config"/>
<meta name="admin.active.section" content="atl.jira.proj.config"/>
</head>
<body>
<h3>Hello</h3>
</body>
</html>If you don't know where the above goes, you have more reading to do about webwork actions:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.