[Zope3-Users] z3c.zrtresource not interpreting
Fernando Correa Neto
fcdoth at gmail.com
Wed Jul 30 00:28:56 EDT 2008
Hello there,
I was trying to use z3c.zrtresource but I think I am doing something
stupid, though I thought it was quite obvious to set up.
I have the following resource directory:
<browser:resourceDirectory
name="fab.css"
directory="css"
layer=".interfaces.IFabLayer"
/>
Then I have the folowing zrt-resource directive:
<browser:zrt-resource
name="global.css"
file="css/global.css"
layer=".interfaces.IFabLayer"
/>
Then on global.css I have the following zrt-resource statement:
/* zrt-replace: "/clients/fab/css/"
tal"string:${context/++resource++fab.css}/" */
But then when I try to reach the global.css through the URL like
http://localhost:8080/foo/@@/fab.css/global.css , the css is rendered
and nothing is interpreted (replaced in my case). The statement is
even showing untouched on the rendered css (which I assume that after
being interpreted it should go away).
Any ideas on how to make it work or debug?
Best Regards,
Fernando
More information about the Zope3-users
mailing list