[Zope] something like getpath in ZCatalog for methods
Chris Withers
chrisw@nipltd.com
Wed, 02 May 2001 12:11:40 +0100
Try method_X.absolute_url()
It may or may not work :-S
Chris
Marcus Schopen wrote:
>
> 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
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )