Hi all, Base classes are specified when creating new ZClass. How can I discover what Base classes was a ZClass created with? How can I change Base ZClasses (without deleting and recreating a ZClass)? -- Milos Prudek
Milos Prudek writes:
Base classes are specified when creating new ZClass.
How can I discover what Base classes was a ZClass created with? You look at the basic tab.
How can I change Base ZClasses (without deleting and recreating a ZClass)? You search the mailing list archives to find similar questions and the corresponding replies....
Dieter
How can I change Base ZClasses (without deleting and recreating a ZClass)? You search the mailing list archives to find similar questions and the corresponding replies....
Well, how can I change Base ZClasses through ZMI? -- Milos Prudek
How can I change Base ZClasses (without deleting and recreating a ZClass)? You search the mailing list archives to find similar questions and the corresponding replies....
Well, how can I change Base ZClasses through ZMI?
You can't. Don't use ZClasses, you will experience pain... Chris
Hi,
Don't use ZClasses, you will experience pain...
I'm quite new to Zope and read this list now for some weeks. I successfully created my first ZClasses and I realy like them. Can somebody tell me why I should NOT use ZClasses ? Where's the problem ? greetings Achim
I'm quite new to Zope and read this list now for some weeks. I successfully created my first ZClasses and I realy like them. Can somebody tell me why I should NOT use ZClasses ? Where's the problem ?
You'll see ;-) Chris
Achim Domma writes:
I'm quite new to Zope and read this list now for some weeks. I successfully created my first ZClasses and I realy like them. Can somebody tell me why I should NOT use ZClasses ? Where's the problem ? I like ZClasses and did not yet have serious bad experiences...
But: * They made problems in the past during migration to new Zope versions, usually because products they depended upon have not been installed, were no longer available. The error messages have not been very helpful to locate the problem. Otherwise, you will have the same problems with Python based products, just you are told more directly what went wrong. * There are rumors (--> mailing list archives) that subclassing of a ZClass living in a different product breaks after export/import. * ZClasses are not easy to grasp with all these methods, views, permissions, permission mappings ... * They are strange objects, which cannot be copied, renamed, pasted, rebased.... They may well cause surprises... Dieter
You can... http://www.zope.org/Members/AlexR/ChangingBaseClasses
From: "Chris Withers" <chrisw@nipltd.com> Date: Sun, 9 Sep 2001 09:25:56 +0100 To: "Milos Prudek" <milos.prudek@worldonline.cz>, <zope@zope.org> Subject: Re: [Zope] Management of Base classes
How can I change Base ZClasses (without deleting and recreating a ZClass)? You search the mailing list archives to find similar questions and the corresponding replies....
Well, how can I change Base ZClasses through ZMI?
You can't.
Don't use ZClasses, you will experience pain...
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
You can... http://www.zope.org/Members/AlexR/ChangingBaseClasses
"Caveat - This solution is unsupported by anyone. Make sure you backup your database before using it. When last tested with Zope 2.1.5 it worked fine but as usual YMMV." ...whether or not you'd want to risk it is another matter ;-) Chris
Milos Prudek writes:
How can I change Base ZClasses (without deleting and recreating a ZClass)? You search the mailing list archives to find similar questions and the corresponding replies....
Well, how can I change Base ZClasses through ZMI? If you had followed my advice (searching the mailing list archives), you would have found: "you cannot" out of hand .... And what you can do when you really want to change the base classes....
Dieter
participants (5)
-
Achim Domma -
Chris Withers -
Dieter Maurer -
marc lindahl -
Milos Prudek