Michael Bernstein wrote:
Pavlos Christoforou wrote:
On Tue, 2 Feb 1999, Michael Bernstein wrote:
If this is not currently possible, I would like to suggest that a 'context' attribute be added to <!-- #var -->, with the default being 'context=here' (the current behaviour) and an additional value of 'context=self' or perhaps 'context=origin' being made available.
<STUFF DELETED> How should the relative URL's or BASE variables be handled if this document is called from a subobject down the object hierarchy like <!--# var global_map context=origin--> ?
It should be handled exactly as if it were being called from the top level directory. Where this would break the functionality of the links, they should be constructed to create absolute URL's (as was discussed in another thread concerning image relative URL's).
Please understand that I am not advocating changing the default behavior of zope, but only to add a little extra control into DTML.
Ok, last chance for anyone to get their two cents in before I submit this as a feature request. If you feel this is a good/bad idea, or that I missed something crucial, let me know (privately if neccessary). Cheers, Michael.