[Grok-dev] Static resources usage in different namespace packages
Jan-Jaap Driessen
jdriessen at thehealthagency.com
Wed Nov 18 04:02:57 EST 2009
2009/11/18 Marc Rijken <marc at rijken.org>:
> On Wed, November 18, 2009 06:52, Baiju M wrote:
>> <link rel="stylesheet" type="text/css"
>> tal:attributes="href python: view.url(context.__parent__,
>> '@@/namespace.pkg1/style.css')" />
>
> <link rel="stylesheet" type="text/css"
> href="++resource++namespace.pkg1/style.css"/> is may be more convinient.
>
> Marc
>
And the full URL to the resource will be computed if you use:
<link rel="stylesheet" type="text/css" tal:attributes="href
context/++resource++namespace.pkg1/style.css"/>
--
Jan-Jaap Driessen
More information about the Grok-dev
mailing list