<
From version < 20.1 >
edited by Denis Gervalle
on 2012/12/20
To version < 21.1 >
edited by Marius Dumitru Florea
on 2013/07/20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dgervalle
1 +XWiki.mflorea
Content
... ... @@ -298,10 +298,12 @@
298 298  It's now possible by default to add [[skin extensions>>extensions:Extension.Skin Extension Plugin]] located in JAR files. Example usage:
299 299  
300 300  {{code}}
301 -$xwiki.jsrx("/lib/codemirror.js")
302 -$xwiki.ssrx("/lib/codemirror.css")
301 +$xwiki.jsrx.use("/path/to/file.js")
302 +$xwiki.ssrx.use("/path/to/file.css")
303 303  {{/code}}
304 304  
305 +The content of the resource is obtained using the current context class loader. The path starts on the root of the jar that contains the requested file.
306 +
305 305  == Attachment Picker improvements ==
306 306  
307 307  It is now possible to specify a different document for the source (and target in case of uploads) of attachments, using the new ##targetdocname## macro parameter.

Get Connected