I should've added that if I try accessing http://localhost:8888/t51/assets/ctx/0.0.1-SNAPSHOT/css/images/img01.jpg directly, I get:
Unable to locate asset 'context:css/images/img01.jpg' (the file does not exist). Thanks again, mrg On Tue, Jul 28, 2009 at 4:46 PM, Michael Gentry<mgen...@masslight.net> wrote: > Hi all, > > I'm just getting started with T5.1 (used T4 a while back). I have a > test application running at http://localhost:8888/t51 and I have a > stylesheet which has as part of the BODY tag: > > background: url(images/foo.jpg) repeat-x left top; > > When I load the page, the stylesheet is being loaded (I've inspected > it), but the graphic doesn't show up. It looks like T5.1 changed the > URL to: > > http://localhost:8888/t51/assets/ctx/0.0.1-SNAPSHOT/css/images/foo.jpg > > If I access http://localhost:8888/t51/images/foo.jpg directly in the > browser, I can see the graphic. Any ideas as to how to get the image > to load out of the stylesheet? I have the image stored under > src/main/webapp/images in Eclipse and created the project using the > Maven archetype. > > Thanks! > > mrg > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org