Re: [Zope] Choose where to create a ZClass instance with EM

2000-08-17 Thread Andy McKay
Get a handle to the object where you wish to create the object then create the object. For example: newobj = getattr(self, 'folderA') will give you folderA in self. The new object will be created in folderA. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com

Re: [Zope] Choose where to create a ZClass instance with EM

2000-08-17 Thread R. David Murray
On Thu, 17 Aug 2000, Andy McKay wrote: Get a handle to the object where you wish to create the object then create the object. For example: newobj = getattr(self, 'folderA') will give you folderA in self. The new object will be created in folderA. Isn't it actually that he wants to do the

Re: [Zope] Choose where to create a ZClass instance with EM

2000-08-17 Thread Dieter Maurer
Francois-Regis CHALAOUX writes: Hi, When I create a ZClass instance from an external Method I create by default the instance in the same place where is located my external method (see the code below). How to select a different place in my script where will be create the ZClass ?