[Zope] Creating properties with a product.

2000-08-16 Thread jesse
___ Zope maillist - [EMAIL PROTECTED] 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 )

[Zope] Creating properties with a product.

2000-08-16 Thread jesse
Hello, I recently created a product which adds a folder, with multiple dtmldocuments inside of it, effectivly creating a site immedatly. However, even though I can add folders and documents easiliy, I can't seem to create properties! It keeps giving me the Attribute error: aq_base. Here

Re: [Zope] Creating properties with a product.

2000-08-16 Thread Daniel Rusch
Take a look at the doc string in the class definition of PropertyManager. It states that: An object may specify that it has one or more predefined properties, by specifying an _properties structure in its class:: _properties=({'id':'title', 'type': 'string', 'mode': 'w'},