Details
-
New Feature
-
Resolution: Fixed
-
Major
-
6.3-milestone-2
-
None
Description
If your JavaScript/CSS files are on the file system inside the XWiki WAR
/resources/uicomponents/dashboard/dashboard.css
and they contain Velocity code then you can load them with
$xwiki.ssfx.use('uicomponents/dashboard/dashboard.css', true)
in order to evaluate the Velocity code. If you package the same files as a WebJar you cannot do this evaluation any more. We need something like this:
$services.webjars.url('org.xwiki.platform:xwiki-platform-dashboard-webjar', 'dashboard.css', {'evaluate': true})
Attachments
Issue Links
- blocks
-
XWIKI-11176 Use jsTree to rewrite and improve the trees we currently have in XWiki
- Closed
- depends on
-
XWIKI-11371 Detect the webjar version instead of hard-coding it
- Closed