[Zope-dev] What is the local object in zope?

Phil Harris phil.harris@zope.co.uk
Fri, 17 Nov 2000 16:45:36 -0000


Try

expr="this().manage_addDTMLDocument(...)"

although you shouldn't need to do that:

expr="manage_addDTMLDocument(...)"

should work as well.

hth

Phil


----- Original Message -----
From: "Espen Sorbye Frederiksen" <ceeesf@cee.hw.ac.uk>
To: <zope-dev@zope.org>
Sent: Friday, November 17, 2000 3:35 PM
Subject: [Zope-dev] What is the local object in zope?


> I am maybe blind, but cannot find a name for the local object in zope
> (like "this" in JAVA ).
> The command call expr="subdirectory.manage_addDTMLDocument(....)" works if
> subdirectory is a folder in the current folder. However the call
> expr="self.manage_addDTMLDocument(...)" does not work.
>
> Could anyone tell me what I am doing wrong?
>
> Cheers,
>
> Espen
>
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )