<
From version < 65.3 >
edited by Vincent Massol
on 2015/08/27
To version < 66.1 >
edited by Vincent Massol
on 2015/08/27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -249,12 +249,17 @@
249 249  
250 250  Right now dynamic Skin Resources are handled as Entity Resources ([[which is not correct>>http://jira.xwiki.org/browse/XWIKI-12449]]).
251 251  
252 -The additional URL paths for the ##skin## action is ##<filesystem path to resource>?<optional query string>##.
252 +The additional URL paths for the ##skin## action is
253 +* ##<filesystem path to resource>?<optional query string>## for Filesystem-based Skins
254 +* ##<space1>/.../<spaceN>/<page>/<attachment name>## for a resource attached to a wiki page. Note that Velocity is executed only if the attachment has a CSS or Javascript extension name.
255 +* ##<space1>/.../<spaceN>/<page>/<xobject property name>## for Skins defined in wiki pages and having an ##XWiki.XWikiSkins## xobject with a property named ##<xobject property name>##. Note that Velocity is executed only if the ##<xobject property name>## name has a CSS or Javascript extension name.
253 253  
254 254  Examples:
255 255  
256 256  * ##http:~/~/<server>/xwiki/bin/skin/skins/flamingo/style.css?skin=XWiki.DefaultSkin&colorTheme=playground%3AFlamingoThemes.Charcoal##: Points to the ##style.css## resource located in the ##[xwiki webapp location]/skins/flamingo## directory on the filesystem.
257 257  * ##http:~/~/<server>/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.css##: Points to the ##searchSuggest.css## resource located in the ##[xwiki webapp location]/resources/uicomponents/search## directory on the filesystem.
261 +* ##http:~/~/<server>/xwiki/bin/skin/XWiki/DefaultSkin/somefile.css##: Points to the ##somefile.css## attachment in the ##XWiki.DefaultSkin## wiki page.
262 +* ##http:~/~/<server>/xwiki/bin/skin/XWiki/DefaultSkin/edit.vm##: Points to the content of the ##edit.vm## property in the ##XWiki.XWikiSkins## xobject in the ##XWiki.DefaultSkin## wiki page.
258 258  
259 259  = Type: ##wiki## =
260 260  

Get Connected