[Zope-dev] how to access propertiesheets of a base ZClass
Steve Spicklemire
steve@spvi.com
Sun, 3 Dec 2000 10:26:49 -0500 (EST)
Hi Joachim,
You want to initialize the value of a property that is inherited
from a base class to some constant value? I think you'll need to do
that in the constructor.
e.g., <dtml-call "manage_changeProperties({'type':'bleah'})">
in the IntField_add method, inside the
<dtml-with "IntField.createInObjectManager(REQUEST['id'], REQUEST)">
</dtml-with>
tags...
-steve
>>>>> "Joachim" == Joachim Schmitz <js@aixtraware.de> writes:
Joachim> in a derived ZClass
Joachim> I created a ZClass Field
Joachim> with a propersheet Basic with some Properties like:
Joachim> name,title,type,order and so on. I defined also a new
Joachim> view for this Basic Propertysheet FieldBasic.
Joachim> Now I defined an IntField ZClass with the Field as
Joachim> baseclass, and wanted to access and set for example the
Joachim> type-property. But in my new ZClass I don't have a
Joachim> FieldBasic management tab.
Joachim> If I create a new instance of Field I get the FieldBasic
Joachim> tab. any enlightment to this is welcome.
Joachim> Mit freundlichen Grüßen
Joachim> Joachim Schmitz
Joachim> AixtraWare, Ing. Büro für Internetanwendungen
Joachim> Hüsgenstr. 33a, D-52457 Aldenhoven Telefon:
Joachim> +49-2464-8851, FAX: +49-2464-905163
Joachim> _______________________________________________ Zope-Dev
Joachim> maillist - Zope-Dev@zope.org
Joachim> http://lists.zope.org/mailman/listinfo/zope-dev ** No
Joachim> cross posts or HTML encoding! ** (Related lists -
Joachim> http://lists.zope.org/mailman/listinfo/zope-announce
Joachim> http://lists.zope.org/mailman/listinfo/zope )