Here, try it:

BLAH.CSS
body {font-size:20px;}

START.PY
from FOO.PY import *
cherrypy.root=Root()
cherrypy.root.blah=blah()
cherrypy.root.blah.bleh = bleh()

WELCOME.KID
<link rel="stylesheet" type="text/css" href="" />

FOO.PY
class Root(controllers.RootController):
    @turbogears.expose(template="dev10.templates.welcome")
    def index(self):
        return dict(now='blah')
class blah(controllers.RootController ):
    @turbogears.expose(template="dev10.templates.welcome")
    def index(self):
        return dict(now='blah')
class bleh(controllers.RootController):
    @turbogears.expose(template="dev10.templates.welcome")
    def index(self):
        return dict(now='blah')


On 12/10/05, Karl Guertin <[EMAIL PROTECTED]> wrote:

On 12/10/05, Facun Chamut <[EMAIL PROTECTED]> wrote:
> if w/ relative/absolute you mean whether it finishes w/ a */*, then it
> doesn't matter (in this particular case. It sometimes does). Please see my
> example.

I mean is your css file written as:
<link rel="stylesheet" type="text/css" href="" absolute! -->
<link rel="stylesheet" type="text/css" href="" relative! -->

but blah/ and blah/bleh should refer to the same relative path, so
that must not be it. What does your server log say when you try to hit
blah/bleh with a browser?

Reply via email to