In a related question, do, or in the future will, ${expansions} work in css?
I haven't tried.



On 28/04/2012, at 5:51 AM, trsvax wrote:

> I have a CDN module that automatically copies assets to a CDN (specifically
> Amazon S3/Cloudfront). I was working with the tree component and discovered
> the bits that make of the tree interface were missing images. Things like
> tree-branch.png, tree-sprits.png etc. When I looked I found out they are
> background images included in the css like
> 
>  background-image: url(tree-branch.png);
> 
> While that's clever it means that the AssetPathConverter is never called for
> tree-branch.png so the CDN does not work properly. While I can copy the up
> manually and make things work it's not clear how to solve this problem in
> the general case.
> 
> I suppose I could override the Asset service also and copy the files up from
> there. 
> 
> I guess the question is in general if you want to move Assets to a CDN how
> to you find them all?
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/General-CDN-problem-that-came-up-with-Tree-component-tp5671331p5671331.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to