Forums

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

How can I use AUI dependency in servlets?

MovingHead
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2018

Hello Community,

I try to use the AUI style of Confluence in my servlets.
My atlassian-plugin.xml web-resource:

<web-resource key="MyResources" name="MyResources">
<dependency>com.atlassian.auiplugin:jquery</dependency>
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>com.atlassian.auiplugin:aui-buttons</dependency>
<resource type="download" name="lib/" location="lib/"/>
</web-resource>

 How can I bind the css of AUI in my VM-Template?

I know how to access the resource "lib/" from my example but I don´t know how to access the AUI dependency...

My Code to bind lib resources:

<script type="text/javascript" src="${baseURL}lib/table-export/js/Blob.js"></script>

 

Thanks a lot!
Flo

1 answer

1 accepted

1 vote
Answer accepted
Santwana Sarangi {Appfire}
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.
August 29, 2018

Hi Florian,

It seems like; you are trying to use AUI from atlassian in your vm template. Please refer to this documentation https://docs.atlassian.com/aui/7.9.5/docs/inline-dialog.html to use AUI in atlassian plugin.

 

If you want to use the AUI in any other form, please refer to this documentation https://docs.atlassian.com/aui/getting-started.html 

 

Thanks,

Santwana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events