[Zope] something like getpath in ZCatalog for methods

Marcus Schopen marcus.schopen@uni-bielefeld.de
Wed, 02 May 2001 01:12:47 +0200 (CEST)


Hi there,

is it possible to get the absolut position/url of a method (e.g. method_X) that
is located somewhere in one of the above parents folders?
Something like getpath in ZCatalog.

Looks like this:

Folder_A
testing_method
method_X
   Folder_A1
      Folder_A1.2
         method_X
      Folder_A1.3
   Folder_A2
Foder_B
   Folder_B1
      method_X

Folder_C
...

Calling "testing_method" in "Folder_A1.2" should give a the the position
of "method_X" in "Folder_A1.2"
Calling testing_method in "Folder_B.1" should give a the the position
of the "method_X" in "Folder_B1"

In other words: whats the position of my next "method_X"

Thanks a lot
Marcus