Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. dgervalle1 +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.