Re: [Zope] Re: Question about dot in method name

2008-03-26 Thread bard stéphane
__getitem__ raise an exception : *Error Type: AttributeError* *Error Value: 'super' object has no attribute '__getitem__' my class derive from (ObjectManager, BTreeFolder2, PropertyManager): I test : **(ObjectManager, Folder PropertyManager):* **and got the same exception the method of Sa

[Zope] Question about dot in method name

2008-03-25 Thread bard stéphane
hi every body i'm changing a very old zclass product. In this zclass i declare a python script with this name "mydoc.xls" this script return an xls file with an argument now i'm writing a zope2 product. How can I explain to zope that he should publish a certain method with a different name so whe

[Zope] Question about dot in method name

2008-03-25 Thread bard stéphane
hi every body i'm changing a very old zclass product. In this zclass i declare a python script with this name "mydoc.xls" this script return an xls file with an argument now i'm writing a zope2 product. How can I explain to zope that he should publish a certain method with a different name so whe

Re: [Zope] zcatalog strange behavior

2006-06-26 Thread bard stéphane
thank's dieter ! In fact i lose the tip that the Zcatalog should have the id "Catalog" so the object could be automatically cataloged at creation. thank's a lot Dieter Maurer a écrit : bard stéphane wrote at 2006-6-24 19:38 +0200: Today i try to create another zcl

[Zope] zcatalog strange behavior

2006-06-24 Thread bard stéphane
Hi every one I've used zcatalog 2 years ago. Every thing was perfect My zclass objects where removed from zcatalog when they were delete etc ... Today i try to create another zclass on the same zope server (2.6) zclass with zobject,zcatalogaware inheritance and the zcatalogawareness don't work an