On 24 Mar 2015 at 11:12:54, [email protected] 
([email protected](mailto:[email protected])) wrote:

> Hi Nicolas,
>  
>  
> On 23 Mar 2015 at 16:33:55, Nicolas Delsaux 
> ([email protected](mailto:[email protected])) 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
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to