]
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 publishing this resource.
AttributeError
Sorry, a Zope error occurred.
Traceback (innermost
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
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
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(self,
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 this:
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 least the
Not to sure there Im afraid. The obvious answer is the manage_addB doesnt
exist whereas manage_addDTMLDocument does.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
Programming for the People
- Original Message -
From: "Daniel Rusch" [EMAIL PROTECTED]
Yeah, that's what i thought, but I know it exists cause I can create an
object of type B and I copied and pasted the manage_addB part?
For any one else who is reading this:
the problem is:
I have a product I'll call B.
Additionally I have a folderish product I'll call myFolder. What I want