[Zope] Reference to Local Context of a Macro

Florent Guillaume fg@nuxeo.com
Fri, 13 Sep 2002 22:21:51 +0000 (UTC)


Edward Pollard  <pollej@uleth.ca> wrote:
> I have a page. It includes a macro (some HTML) that is in a subfolder. 
> This html needs to refer to an image file in the local context of the 
> macro file (in the same subfolder).
> 
> Is this possible? I cannot determine the correct path notation for it 
> (template and here refer to the context of the main page template 
> calling the macro).

That's a ZPT question, you should ask it on the ZPT list.

But I believe what you want is not possible, as the macro execution is
completely transparent to the TAL engine.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com