Last modified by Thomas Mortagne on 2017/03/24

<
From version < 11.1 >
edited by Vincent Massol
on 2016/04/11
To version < 13.1 >
edited by Vincent Massol
on 2016/04/12
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -68,7 +68,19 @@
68 68  == Miscellaneous ==
69 69  
70 70  * The default LiveTable results page (##XWiki.LiveTableResults##, the page that generates the JSON displayed by the LiveTable) [[now supports a ##location## extra parameter>>extensions:Extension.Livetable Macro||anchor="HParameter24options"]].
71 +* [[Modified WebJars URL format>>extensions:Extension.WebJars Integration||anchor="HURLFormat"]] and added some new Script Service methods:(((
72 +{{code language="none"}}
73 +public String url(String webjarId, String namespace, String path, Map<String, ?> params)
74 +public String url(String webjarId, String namespace, String path)
75 +{{/code}}
71 71  
77 +Deprecated API:
78 +
79 +{{code language="none"}}
80 +public String url(String webjarId, String path, Map<String, ?> params)
81 +{{/code}}
82 +)))
83 +
72 72  = Translations =
73 73  
74 74  The following translations have been updated:
... ... @@ -104,7 +104,7 @@
104 104  
105 105  == Issues specific to XWiki XWiki 8.1 Milestone 2 ==
106 106  
107 -<issues specific to the project>
119 +* The WebJars URL format has been modified to support relative WebJars URL in subwikis. The new format is {{code language="none"}}/webjars/<namespace>/<path/to/resource>?...{{/code}}. Reminder: you should not use this format directly and instead you should use the Script Service to generate a valid WebJars URL; this isolate you from any URL change. Example from Velocity: {{code language="none"}}$services.webjars.url(...){{/code}}.
108 108  
109 109  == API Breakages ==
110 110  

Get Connected