Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Image path is not found in velocity template (webwork1 module)

dhaval soni
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.
May 14, 2013

Image is located at

plugin/src/main/resources/images/img.png

atlassian-plugin contains as below:

<resource type="download" name="images/" location="images/"  key="templateResources"/>
<webwork1>
....

In .vm file,

$req.contextPath/download/resources/com.company.jira.plugin.jira-time-plugin:templateResources/images/imgIcon.png /com.company.jira.plugin.jira-time-plugin is my plugin key .

also tried by - "/jira/download/resources/".

Image is not appear over the screen. what is wrong here... ?

( Is resource key, i provided in atlassian and used , this correct way ? or have to specify inside webwork1 module) ?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Nadir MEZIANI
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.
May 14, 2013

Hi,

Put resource tag in web-resource tag

dhaval soni
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.
May 14, 2013

thanks its work. added web-resource and key applied there instead of resource level.

TAGS
AUG Leaders

Atlassian Community Events