Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get css file in velocity

lpopek October 26, 2018

Hello, I have css file in this structure of files 

main -> java - > resources -> css - > file.css 

In my xml file 

<resource type="download" name="file.css" location="/css/file.css"/>


How can I get it in my velocity template 

1 answer

1 accepted

0 votes
Answer accepted
lpopek October 26, 2018

solved 
I did this via 

$webResourceManager.requireResourcesForContext

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events