Passing information to javascript resource

I created a web-item which opens an AUI dialog. The javascript of the dialog is added with a web-resource. This is working as expected.
Now I would like to show some additional (custom) information about the page inside the dialog. Following your guidelines (, I thought it would be nice to add these information via fieldset as shown.

I tried to create a web-panel and a context-provider (which should provide the additional information), but there are no data about the current page (e.g. pageId) neither in the web-panels velocity nor in the context-provider available to load my additional page information.

Is there another way to pass data to my javascript-resource without mixing javascript with velocity?

Any help is appreciated!

1 answer

Hi @Theresa,

Can you please tell me how did you open and action page to a dialog in confluence plugin.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: More details: https://co...

57 views 1 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you