It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I have a plugin in which I need to show the Link Browser. The plugin renders a custom html content defined in Velocity template and JavaScript. I've tried loading the Link Browser's resources from Velocity template using the #requireResource macro but without any results.
When inspecting the DOM tree in FF, there's a Confluence object defined but no Confluence.Editor.LinkBrowser. Successful import would mean there is a Confluence.Editor.LinkBrowser
I could generalize the question by asking how to import resources from plugin A to plugin B.
P.S. I am not using any kind of page decorator that would otherwise include AJS or other Confluence resources.
pom.xml
<dependency> <groupId>com.atlassian.confluence.plugins</groupId> <artifactId>confluence-editor</artifactId> <version>[5.0,)</version> <scope>provided</scope> </dependency>
.vm file
#javascripts(); #requireResource("com.atlassian.confluence.editor:page-editor-js")
log file
[INFO] [talledLocalContainer] 2013-12-02 16:42:02,664 WARN [http-1990-1] [atlass ian.plugin.webresource.DefaultResourceDependencyResolver] resolveDependencies Ca nnot find web resource module for: com.atlassian.confluence.editor:page-editor-js
For some reason, the resource is still not available.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreHi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.