[Zope] Getting parent of a method

Chris Goldie chris@cyberelves.com
Mon, 10 Jan 2000 16:47:01 +1300


OK, my method needs to know the folder ( PARENT[0]) it resides in.  My
method creates navigation links, I could be using a document instead, but a
method is nicer for users to implement.

<dtml-var "PARENTS[0].id">   returns the id of the calling objects folder
not the methods folder.


What is the correct way of finding the folder a method resides in?

Thasnks dudez