----- Original Message ----- From: "Peter Bengtsson" <peter@fry-it.com> To: "Henny van der Linde" <linde@inline-info.nl> Cc: <zope@zope.org> Sent: Thursday, October 13, 2005 7:33 PM Subject: Re: [Zope] constructor product in Zope 2.8.1 Can you show us your __init__ stuff? Yes Here it is: from eba import eba from ImageFile import ImageFile def initialize(context): context.registerClass( eba, constructors = ( eba.manage_addEbaForm, eba.manage_addEba ), icon="www/eba.gif" ) misc_ = {"inst.gif": ImageFile("www/inst.gif",globals()), "k1.png": ImageFile("www/k1.png",globals()), "k2.png": ImageFile("www/k2.png",globals()), "k3.png": ImageFile("www/k3.png",globals()), "lock.png": ImageFile("www/lock.png",globals()), "unlock.png": ImageFile("www/unlock.png",globals()), "vink_16.gif": ImageFile("www/vink_16.gif",globals()), "kruisje_16.gif": ImageFile("www/kruisje_16.gif",globals()), "image.gif": ImageFile("www/image.gif",globals()), "print_icon.gif": ImageFile("www/print_icon.gif",globals()), "up.gif": ImageFile("www/up.gif",globals()), "pre.gif": ImageFile("www/pre.gif",globals()), "toolbar.gif": ImageFile("www/toolbar.gif",globals()), "nieuw_32.png": ImageFile("www/nieuw_32.png",globals()), "wis_32.png": ImageFile("www/wis_32.png",globals()), "hernummeren_32.png": ImageFile("www/hernummeren_32.png",globals()), "basis_32.png": ImageFile("www/basis_32.png",globals()), "specifiek_32.png": ImageFile("www/specifiek_32.png",globals()), "editors_32.gif": ImageFile("www/editors_32.gif",globals()), "site_32.png": ImageFile("www/site_32.png",globals()), "bewaren_32.png": ImageFile("www/bewaren_32.png",globals()), "annuleren_32.png": ImageFile("www/annuleren_32.png",globals()), } Henny van der Linde