Hi, I created an own product using ZClasses. How can I change the Meta Type of my ZClasses? Editing the Meta Type value in /Control_Panel/Products/<my product>/<my zclass>/propertysheets/basic has no effect. The value I set at the first time, I created the ZClass still appears in the selection list for new objects. Thanks, Marcus
On Tue, 12 Mar 2002 11:43:17 +0100 "Marcus Bergmann" <marcus.bergmann@isst.fhg.de> wrote:
I created an own product using ZClasses. How can I change the Meta Type of my ZClasses?
Enter the Factory (the small factory-icon titled yourproduct_factory) of your ZClass and change the 'Add List Name'. greetings, maik. -- maik jablonski visit www.zope.org, universitaet bielefeld LET'S GET ZOPED!!!! zentrum fuer lehrerbildung didaktik des sachunterrichts postfach 10 01 31 33501 bielefeld germany tel: + 49 (0) 521 106 4234 http://www.zfl.uni-bielefeld.de/ http://www.sachunterricht-online.de/
Maik Jablonski wrote:
On Tue, 12 Mar 2002 11:43:17 +0100 "Marcus Bergmann" <marcus.bergmann@isst.fhg.de> wrote:
I created an own product using ZClasses. How can I change the Meta Type of my ZClasses?
Enter the Factory (the small factory-icon titled yourproduct_factory) of your ZClass and change the 'Add List Name'.
greetings, maik.
All right! Thank you, Marcus
Marcus Bergmann wrote:
Maik Jablonski wrote:
On Tue, 12 Mar 2002 11:43:17 +0100 "Marcus Bergmann" <marcus.bergmann@isst.fhg.de> wrote:
I created an own product using ZClasses. How can I change the Meta Type of my ZClasses?
Enter the Factory (the small factory-icon titled yourproduct_factory) of your ZClass and change the 'Add List Name'.
greetings, maik.
All right!
Thank you, Marcus
Marcus, don't know which version of zope you use (and if that would matter), but there is also the Meta Type field in your ZClass itself, under the basic sheet. Change that also to the type you entered in "Add List Name". There may occure some complications otherwise (IIRC with copy&paste or such). cheers, oliver
Oliver Bleutgen wrote:
Marcus Bergmann wrote:
Maik Jablonski wrote:
On Tue, 12 Mar 2002 11:43:17 +0100 "Marcus Bergmann" <marcus.bergmann@isst.fhg.de> wrote:
I created an own product using ZClasses. How can I change the Meta Type of my ZClasses?
Enter the Factory (the small factory-icon titled yourproduct_factory) of your ZClass and change the 'Add List Name'.
greetings, maik.
All right!
Thank you, Marcus
Marcus, don't know which version of zope you use (and if that would matter), but there is also the Meta Type field in your ZClass itself, under the basic sheet. Change that also to the type you entered in "Add List Name". There may occure some complications otherwise (IIRC with copy&paste or such).
cheers, oliver
Ok, I changed both ( 'Meta Type' in the ZClasses basic and the 'Add List Name' in the factory), but the name of the Permission ist still the old name ('Add <old name>') and it appears in all security menues. Where can I change the name for the permission? Tanks again, Marcus
On Tue, 12 Mar 2002 13:56:24 +0100 "Marcus Bergmann" <marcus.bergmann@isst.fhg.de> wrote:
Ok, I changed both ( 'Meta Type' in the ZClasses basic and the 'Add List Name' in the factory), but the name of the Permission ist still the old name ('Add <old name>') and it appears in all security menues. Where can I change the name for the permission?
In your ZClass enter the 'little man carrying the box'. It's the permission-constructor (called something like yourproduct_add_permission). There you should change the Name. greetings again, maik. -- maik jablonski visit www.zope.org, universitaet bielefeld LET'S GET ZOPED!!!! zentrum fuer lehrerbildung didaktik des sachunterrichts postfach 10 01 31 33501 bielefeld germany tel: + 49 (0) 521 106 4234 http://www.zfl.uni-bielefeld.de/ http://www.sachunterricht-online.de/
Maik Jablonski wrote:
On Tue, 12 Mar 2002 13:56:24 +0100 "Marcus Bergmann" <marcus.bergmann@isst.fhg.de> wrote:
Ok, I changed both ( 'Meta Type' in the ZClasses basic and the 'Add List Name' in the factory), but the name of the Permission ist still the old name ('Add <old name>') and it appears in all security menues. Where can I change the name for the permission?
In your ZClass enter the 'little man carrying the box'. It's the permission-constructor (called something like yourproduct_add_permission). There you should change the Name.
greetings again, maik.
Ok, I did it. A last question: If I changes the Meta Type of a ZClass (under 'Basic'), it seems that the Meta Type of existing instances is not changed. How can I update them? Marcus
participants (3)
-
Maik Jablonski -
Marcus Bergmann -
Oliver Bleutgen