Thanks for all your replies, Vincent and Thomas.
I'm quite ... worried by the fact to directly put my webjars
dependencies in WEB-INF/lib, directly or through "Advanced Search", as
it would prevent me to have explicit link between the JS lib and the
place where it is used.
What I fear is the WEB-INF/lib folder becoming kind of messy, with all
JS dependencies dropped there without proper usage identification, and a
zealous sysadmin coming there and purging the folder aggresively.
Have you got any kind of best practices to avoid that ?
Le 24/03/2015 11:16, vincent(a)massol.net a écrit :
On 24 Mar 2015 at 11:12:54, vincent(a)massol.net
(vincent@massol.net(mailto:vincent@massol.net)) wrote:
Hi Nicolas,
On 23 Mar 2015 at 16:33:55, Nicolas Delsaux
(nicolas.delsaux@gmx.fr(mailto:nicolas.delsaux@gmx.fr)) wrote:
I would like to create a Javascript application
in XWiki.
My precise goal is to go get some content from Jenkins (build status)
and render it over a static image using d3.js or any other rich
rendering framework.
I suppose the only way to implement that is to write my webpage as HTML.
But, then, how will I use external frameworks ? (typically d3.js)
Regarding D3js you have an example here:
http://extensions.xwiki.org/xwiki/bin/view/Extension/D3+Example
And there’s even a macro here (not tried it myself):
http://extensions.xwiki.org/xwiki/bin/view/Extension/d3js Just a note: these
examples were written prior to us having the webjar integration support. So with webjars,
it’s even easier and you don’t need to include d3js in an XWiki Object anymore. You can
just put the webjar in WEB-INF/lib and it’ll be usable.
See
http://extensions.xwiki.org/xwiki/bin/view/Extension/WebJars+Integration
Thanks
-Vincent
Hope it helps
-Vincent
> Thanks
>
> --
> Nicolas Delsaux
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users