Thanks for the explanation! Very much appreciated :-)
On Mon, Jul 11, 2011 at 9:30 PM, Nillehammer-2 [via Tapestry] < [email protected]> wrote: > Hi stephanos2k, > > By the way, the stylesheet in my library references some images > > [background-image: "/images/error.png"], what's the best way to make this > > > work when using the library? > CSS files are assets that are not parsed like templates. So dynamic > insertion of asset paths won't work here. To make background-image urls > work with assets either put them into a style-addribute in the > particular element or use a <style>...</style> section in your > template(s). I myself use the latter and have put everything together in > my layout component. > > Regards, nillehammer > > -- > http://www.winfonet.eu > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=4576210&i=0> > For additional commands, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=4576210&i=1> > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://tapestry.1045711.n5.nabble.com/how-to-use-asset-from-component-library-in-template-tp4574973p4576210.html > To unsubscribe from how to use asset from component library in template?, > click > here<http://tapestry.1045711.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4574973&code=c3RlcGhhbi5iZWhua2VAZ29vZ2xlbWFpbC5jb218NDU3NDk3M3w0OTkxMDQ0NDk=>. > > -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-use-asset-from-component-library-in-template-tp4574973p4579225.html Sent from the Tapestry - User mailing list archive at Nabble.com.
