[Zope] getPhysicalPath of a DTML Method?

iap_y2fun.com iap@y2fun.com
Wed, 16 May 2001 02:51:21 +0800


Hi, Dieter
Thanks for your response.
It does works for a normal zclass.
In my case, I have a zclass-based product which got wrong
reference to its base class after **exported to/imported from**
another  ZODB. which means there is a zombie zclass (or a
shadow zclass) reference in its _zbases.
It doesn't work in that situation.
If it works, it should return the zombie DTML method of the zombie zclass.
But it seems not. I takes quite a long time to try to figure out
"where the old-codes came from". And find that.
Well, I have sloved my problem by replace the reference to the
missing base class. So this doesn't matter anymore.
Thanks a lot.

Iap, Singuan


----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "iap_y2fun.com" <iap@y2fun.com>
Cc: <zope@zope.org>
Sent: Friday, May 11, 2001 4:02 AM
Subject: Re: [Zope] getPhysicalPath of a DTML Method?


> iap_y2fun.com writes:
>  > ... pythical path of a DTML method ...
>  > 1. The "method.this().absolute_url(1)" work-around dosen't
>  > work for me.
> Why not?
>
> What about:
>      "method.getPhysicalPath()"
>
>
> Dieter
>
> _______________________________________________
> 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 )
>