How to redirect from AbstractProjectTabPanel to resource page

Akira Tsuchiya
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2012

I am developing a Plugin referencing the url below.

https://developer.atlassian.com/display/JIRADEV/Project+Tab+Panel+Plugin+Module

I want to know how to use <resource type="velocity" name="view" location="***" /> parameter

described in the <project-tabpanel /> section of atlassian-plugin.xml.

AbstractProjectTabPanel#getHtml() returns the page contents on a web browser.

I think there is any mechanism that reads the contents of <resource type="" name="view" location=""/> as a String instance.

But I cannot find any description in the online documentation.

1 answer

0 votes
Akira Tsuchiya
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2012

Override the getHtml() as below.


@Override
public String getHtml(BrowseContext browseContext) {
return super.getHtml(browseContext);
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events