RE: [Zope] Creating an object from within another

2000-08-23 Thread Chris McDonough
onough > Cc: Kapil Thangavelu; Dieter Maurer; [EMAIL PROTECTED] > Subject: Re: [Zope] Creating an object from within another > > > Thanks for the help gentlemen, but I still get the same error mesage: > >Zope Error > > Zope has encountered an error while publ

Re: [Zope] Creating an object from within another

2000-08-21 Thread Daniel Rusch
Thanks for the help gentlemen, but I still get the same error mesage: Zope Error Zope has encountered an error while publishing this resource. AttributeError Sorry, a Zope error occurred. Traceback (innermost last): File /home/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish

Re: [Zope] Creating an object from within another

2000-08-19 Thread Dieter Maurer
Kapil Thangavelu writes: > Dieter Maurer wrote: > > Try: (ob __of__ self).manage_addB() > > whats is ob__of__self ??? > > acquisition at its best? No, it was simply too late in the day. It should have been "(ob.__of__(self)).manage_addB(...)". The "ob.__of__(self)" is "ob" in the

Re: [Zope] Creating an object from within another

2000-08-18 Thread Chris McDonough
I think he meant ob.__of__(self) which wraps ob into the context of self. Useful for returning unwrapped Python objects while you're in Python. On Fri, 18 Aug 2000, Kapil Thangavelu wrote: > Dieter Maurer wrote: > > > > Daniel Rusch writes: > > > So far so good, > > > > > > Next hurdle, at

Re: [Zope] Creating an object from within another

2000-08-18 Thread Kapil Thangavelu
Dieter Maurer wrote: > > Daniel Rusch writes: > > So far so good, > > > > Next hurdle, at least the problems have been cut down to hurdles from walls. > > > > I have a folderish product say myFolder, in the manage_addMyFolder function I > > want to create an object of my product B. so I do

Re: [Zope] Creating an object from within another

2000-08-18 Thread Dieter Maurer
Daniel Rusch writes: > So far so good, > > Next hurdle, at least the problems have been cut down to hurdles from walls. > > I have a folderish product say myFolder, in the manage_addMyFolder function I > want to create an object of my product B. so I do this: > > def manage_addmyFolder(

Re: [Zope] Creating an object from within another

2000-08-17 Thread Daniel Rusch
iginal Message - > From: "Daniel Rusch" <[EMAIL PROTECTED]> > To: "Daniel Rusch" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, August 17, 2000 1:39 PM > Subject: [Zope] Creating an object from within another > > > So far so g

Re: [Zope] Creating an object from within another

2000-08-17 Thread Andy McKay
AIL PROTECTED]> To: "Daniel Rusch" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 17, 2000 1:39 PM Subject: [Zope] Creating an object from within another > So far so good, > > Next hurdle, at least the problems have been cut down to hurdles from wal

[Zope] Creating an object from within another

2000-08-17 Thread Daniel Rusch
So far so good, Next hurdle, at least the problems have been cut down to hurdles from walls. I have a folderish product say myFolder, in the manage_addMyFolder function I want to create an object of my product B. so I do this: def manage_addmyFolder(self, id, title='', REQU