[Zope] Reference to Local Context of a Macro

Dieter Maurer dieter@handshake.de
Mon, 16 Sep 2002 20:08:02 +0200


Edward Pollard writes:
 > 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).
This is a major weakness of METAL (discussed several times in the ZPT
mailing list).

There is no clean solution:

  You can access the image via "<foldername>/<imagename>".
  This will usually work due to acquisition.


Dieter