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

2000-11-17 Thread Phil Harris

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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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  -  [EMAIL PROTECTED]
> 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 )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )




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

2000-11-17 Thread Espen Sorbye Frederiksen

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  -  [EMAIL PROTECTED]
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 )