[Zope3-Users] Extending IImage

2006-11-10 Thread Nordmann Arne
Hi guys, Im trying to extend the Interface IImage by a title and a caption. My plan was to use zope.app.file.interfaces.IImage as base interface and zope.app.file.Image as base class, but that doesnt work. Every time I submit the add form, I get the following traceback: [] File

Re: [Zope3-Users] Extending IImage

2006-11-10 Thread FB
Hi, On Fri, Nov 10, 2006 at 10:32:13AM +0100, Nordmann Arne wrote: Hi guys, I'm trying to extend the Interface IImage by a title and a caption. My plan was to use zope.app.file.interfaces.IImage as base interface and zope.app.file.Image as base class, but that doesn't work. Every time

Re: [Zope3-Users] Extending IImage

2006-11-10 Thread FB
On Fri, Nov 10, 2006 at 02:42:37PM +0100, FB wrote: You need a seperate class ...-Statement for any class - no matter, which interface(s) it provides. The require-attribute 'like_class' might come handy... Sorry for my poor english: for any class is wrong. Correct is for *every* class.

RE: [Zope3-Users] Extending IImage

2006-11-10 Thread Nordmann Arne
Hi Frank, thank you. That's a really good idea to save time and work. It seems to work very well. Kindly, Arne ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] question about ftesting.zcml

2006-11-10 Thread Shailesh Kumar
Hi, A small question about functional testing. What is the purpose of ftesting.zcml ? Do I need to put something in this file for running functional tests? Or it needs to have just configure/configure? Thanx in advance. With regards, -shailesh ___

[Zope3-Users] security problem setting Annotations with an adapter

2006-11-10 Thread Dominique Lederer
hi! i just added an adapter to my content-class, which gets and sets some Annotations. at the moment i do this in the adapters init to be able to set them: def __init__(self, context): from zope.security.proxy import removeSecurityProxy self.context =

[Zope3-Users] Re: Problem with Python 2.4.4

2006-11-10 Thread Robert Hicks
Jim Fulton wrote: Marius Gedminas wrote: On Tue, Oct 24, 2006 at 02:00:05PM +0200, Thierry Florac wrote: Le mardi 24 octobre 2006 à 07:51 -0400, Jim Fulton a écrit : Torvald Bringsvor wrote: I have set up Zope 3.3.0 with Python 2.4.4, and it didn't quite work. Some operations such as adding