You might want to look at the way PatchKit works http://www.zope.org/Members/haqa/PatchKit ), it allows for arbitrary patches to be added to the product, and I am looking into a way to "turn patches off" during run (i.e. no Zope restart needed). Adrian... ----- Original Message ----- From: "Jerome Alet" <alet@unice.fr> To: "Steve Alexander" <steve@cat-box.net> Cc: <zope-dev@zope.org> Sent: Monday, April 29, 2002 2:54 PM Subject: Re: [Zope-dev] Re: [Zope] [PATCH] to Zope's Management Interface
On Mon, 29 Apr 2002, Steve Alexander wrote:
Jerome Alet wrote:
ok, so if I understand correctly all I have to do to make a not-hotfix product is just do an unconditionnal assignment of my new complete main.dtml file to ObjectManager.ObjectManager.manage_main in my
product's
__init__.py file ?
If the ObjectManager class has already been initialized, then its security declarations will have been applied to the preexisting main DTMLFile object.
In which case, you'll have to re-initialise the class, or process your own security declarations, or something like that.
Ok, for now I will go with the patch, and I'll think more about this for the next version.
thanks for the help.
Jerome Alet
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )