Why not:
def hasObject(self, id):
Test if an object is in the current object.
return id in self.objectIds()
Suresh
Florent Guillaume [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'd like to add a method like
def hasObject(self, id):
Test
Why dont you try:
'myobject' in Object3.objectIds('meta_type_name')
HTH, Suresh
Kai Hoppert [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
i actually have a Problem with restrictedTraverse and hasattr.
Object1
Object2
Object3
I want to test if there exists a Object in
Sure. Use Client.py.
Adriana Monti [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I am looking for a way to run custom python scripts in Unix, scheduled
through cron, that will update the ZODB of our Zope site. The requirement
is that our site cannot be shut down to
Go to the Control Panel and click on your broken Product. You will see a
traceback.
Marshall Powers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm somewhat new to zope in general, and I've been having some trouble
developing products. Im running 2.7 on WinXP as a windows
Maybe you can use the:
invokeFactory(id=xx, type=xx) method.
Garito [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Max
I understand what you explain but what about if I install a new product?
Rewrite the factory?
I think is not a good solution don't you think?
Thanks!!