Hello,

With Skin Extensions, I can include a js or css from resources filesystem:

$xwiki.jsrx.use('path/to/file.js')

... would include .../xwiki/resources/path/to/file.js

With XWiki#getSkinFile, I can retrieve URL of a skin file (from current
skin etc).

$xwiki.getSkinFile("path/to/the/image.png")

... would return an URL that might target
.../xwiki/skin/colibri/path/to/the/image.png

image:icon:accept

... would insert an image from silk icons (so, from
.../xwiki/resources/icons/silk/accept.png).

But, is there a clean way to get the URL targeting a file into /resources
filesystem ? (ie, get URL to a silk icon for example)

Thanks,
Jeremie
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to