Hi.
I have following in css file something like following
.displayingBackground{
background-image:url('../graphics/SectionForGifs/myImage.gif');
and it's OK, it shows just fine in following segments
www.mySite.com/thisPage
www.mySite.com/thatPage
www.mySite.com/*
* where denotes any sort of the page
however, it won't show up in the following terms
www.mySite.com/thatPage/SomeOtherPage
www.mySite.com/thatPage/SomeOtherPageTwo
www.mySite.com/thatPage/*
* where denotes any sort of the page
Also, I am using getImages(){} in www.mySite.com/thatPage/* kind pages, with
public String getImages(){
return "graphics/" + image.getLocation();
and it produces following output : graphics/locationOfImage.png, which is OK, however, it won't render, until I put in my firebug ../ infront of it, i.e.
../graphics/locationOfImage.png . It seems to me that Tapestry is confused with url from CSS code, and it gets to some folder, i.e. SectionForGifs( aformentioned in the CSS example ) and stucks there all the way. Any help or advise about this issue is grateful. Thank you.
how
I have following in css file something like following
.displayingBackground{
background-image:url('../graphics/SectionForGifs/myImage.gif');
and it's OK, it shows just fine in following segments
www.mySite.com/thisPage
www.mySite.com/thatPage
www.mySite.com/*
* where denotes any sort of the page
however, it won't show up in the following terms
www.mySite.com/thatPage/SomeOtherPage
www.mySite.com/thatPage/SomeOtherPageTwo
www.mySite.com/thatPage/*
* where denotes any sort of the page
Also, I am using getImages(){} in www.mySite.com/thatPage/* kind pages, with
public String getImages(){
return "graphics/" + image.getLocation();
and it produces following output : graphics/locationOfImage.png, which is OK, however, it won't render, until I put in my firebug ../ infront of it, i.e.
../graphics/locationOfImage.png . It seems to me that Tapestry is confused with url from CSS code, and it gets to some folder, i.e. SectionForGifs( aformentioned in the CSS example ) and stucks there all the way. Any help or advise about this issue is grateful. Thank you.
how