On 22 Apr 2008, at 23:22 , Christophe Combelles wrote: > How do you "get a resource"?
In a ZPT, you do context/++resource++RESOURCENAME. In Python you look up a 1-ary multi-adapter for the request (like a view, but w/o the context).
> Don't you want just to use /@@/resources/logo.jpg?
Not necessarily. You want Zope to generate that URL.
On 22 Apr 2008, at 23:22 , Christophe Combelles wrote:
> How do you "get a resource"?
In a ZPT, you do context/ ++resource+ +RESOURCENAME. In Python you look
up a 1-ary multi-adapter for the request (like a view, but w/o the
context).
> Don't you want just to use /@@/resources/ logo.jpg?
Not necessarily. You want Zope to generate that URL.