<
From version < 80.1 >
edited by Guillaume Delhumeau
on 2015/10/27
To version < 82.1 >
edited by Thomas Mortagne
on 2017/01/23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.gdelhumeau
1 +XWiki.ThomasMortagne
Content
... ... @@ -188,6 +188,12 @@
188 188  
189 189  If set, force the attachment to be downloaded instead of being opened in the browser (it sets the ##Content-Disposition## header to ##attachment## instead of ##inline##).
190 190  
191 +=== Parameter: ##force-filename## ===
192 +
193 +[since 9.0RC1]
194 +
195 +If ##force-download## is set, the value of ##force-filename## is used in the ##Content-disposition## HTTP header to indicate the name of the file to the browser.
196 +
191 191  == Action: ##create## ==
192 192  
193 193  The additional URL paths for the create action is ##<space1>/.../<spaceN>/<page>?<query string>##.
... ... @@ -298,7 +298,7 @@
298 298  The format is ##wiki/<wiki name>/<bin subpath>## where:
299 299  
300 300  * ##<wiki name>##: the name of the subwiki, e.g. ##platform##.
301 -* ##<bin spath>##: the same path as for the ##bin## action (see above). For example, if you use ##http:~/~/<main wiki server>/xwiki/bin/download/XWiki/JohnDoe/john.png## you would use ##http:~/~/<main wiki server>/xwiki/wiki/<subwiki name>/download/XWiki/JohnDoe/john.png## to access the same attachment but located in a subwiki named ##<subwiki>##.
307 +* ##<bin subpath>##: the same path as for the ##bin## action (see above). For example, if you use ##http:~/~/<main wiki server>/xwiki/bin/download/XWiki/JohnDoe/john.png## you would use ##http:~/~/<main wiki server>/xwiki/wiki/<subwiki name>/download/XWiki/JohnDoe/john.png## to access the same attachment but located in a subwiki named ##<subwiki>##.
302 302  
303 303  = Type: ##resources## =
304 304  
... ... @@ -307,3 +307,17 @@
307 307  = Type: ##skins## =
308 308  
309 309  Static skin resources, e.g. ##http:~/~/<server>/xwiki/skins/flamingo/logo.png##.
316 +
317 += Type: ##temp## =
318 +
319 +Dynamic temporary resources, bound to a specific document and a specific module.
320 +
321 +The format is ##temp/<Space>/<Document>/<module>/<file.ext>##, where:
322 +
323 +* ##<Space>## and ##<Document>## identify the target document; currently only the last part of the space is supported
324 +* ##<module>## is the name of the module that generated the resource, a short string used for avoiding conflicts between different modules generating temporary files with the same name
325 +* ##<file.ext>## is the name of the temporary file
326 +
327 +== Parameter: ##force-download## ==
328 +
329 +If set to ##1##, force the file to be downloaded instead of being opened in the browser (it sets the ##Content-Disposition## header to ##attachment##).

Get Connected