[Zope] Re: Messing with the namespaces stack

Hamish Lawson hamish_lawson@yahoo.co.uk
Fri, 30 Jun 2000 13:06:00 +0100 (BST)


Jim Hebert wrote:

> But I wanted to be able to just write <dtml-var foo_png> while 
> working on
> pages, so I wrap the content with 
> <dtml-with images>
> <dtml-with "PARENTS[0]">
> ...
> </dtml-with>
> </dtml-with>

Jim, that is indeed clever. Am I right, however, in thinking that every
DTML method or DTML document that wants this additional-parent
behaviour will need to use these <dtml-with> wrappers? I think what I'm
after is the ability to alter the parents of the containing folder
itself, so that any contained method automatically has this modified
acquisition path.

Hamish Lawson


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie