On Tue, 2 Feb 1999, Amos Latteier wrote:
def tpURL(self): """Return string to be used as URL relative to parent. The tree tag accumulates the tpURL of objects as it traverses the tree. At any given point during dtml rendering within the tree tag, you can use:: <!--#var tree-item-url--> to get the url up to the point of the current object being rendered. """
I had the same problem with Michael in designing a global navigation side margin. If the tree tag is used in a different frame like the Zope management screens then all is well, because the frame always refers to the same URL. If however one decides to use tables to create the global side margin then the context in which the global side margin method is called becomes important. Before Pricipia was open sourced my TinyZope module had a similar BaseClass to Zope's Folder which computed and set the absolute URL of any object added in that folder. It was easy then to construct Global navigation aids, but with Zope I can not see a simple clean way of doing it unless someone uses ZClient to call the relevant method. Pavlos