Re: Asset in css file?

2010-08-04 Thread Steve Eynon
You're probably better off just overriding the css to return the image you want. Steve. --- Sent on the move from my X10 Mini, so excuse the small words and spelling mistakes! On 4 Aug 2010 07:33, Chuck Kring cjkr...@pacbell.net wrote: Hi everybody, I'm trying to override the gif image used

Re: Asset in css file?

2010-08-04 Thread Chuck Kring
Of course. But what is most efficient way to return a Tapestry Asset specified in the css file. The css file is not a template. On 8/4/2010 4:23 AM, Steve Eynon wrote: You're probably better off just overriding the css to return the image you want. Steve. --- Sent on the move from my X10

Re: Asset in css file?

2010-08-04 Thread Ville Virtanen
The most efficient way (cpu cycle wise) is to bypass Tapestry all together and let httpd share the images. This approach however lacks the ability to version assets using the T5 facilities. The best way IMHO is to use relative paths in css (if there are images and css folders, then the images

Re: Asset in css file?

2010-08-04 Thread Chuck Kring
Thanks. That should work and it keeps the image in the web app. On 8/4/2010 8:13 AM, Ville Virtanen wrote: The most efficient way (cpu cycle wise) is to bypass Tapestry all together and let httpd share the images. This approach however lacks the ability to version assets using the T5