[Zope-dev] Re: is an object in a folder

2004-08-26 Thread sureshvv
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

[Zope-dev] Re: Zope 2.7.2, restrictedTraverse or hasattr

2004-08-20 Thread sureshvv
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

[Zope-dev] Re: Update Zope Site With Unix Python Scripts

2004-06-07 Thread sureshvv
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

[Zope-dev] Re: Product Testing

2004-06-07 Thread sureshvv
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

[Zope-dev] Re: How to create a product with all_meta_types and the

2004-03-23 Thread sureshvv
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!!