Re: [Zope-dev] Anyone know how to add a property to a Zope Product (not its instances)?

2001-10-22 Thread Casey Duncan
On Saturday 20 October 2001 05:41 pm, Joachim Werner allegedly wrote: By default, Zope adds the title and version properties, for which it gets the value from version.txt and meta_type, but does anyone know a way to add more? This is only half an answer, but maybe it helps: I am not

Re: [Zope-dev] Anyone know how to add a property to a Zope Product (not its instances)?

2001-10-20 Thread Joachim Werner
By default, Zope adds the title and version properties, for which it gets the value from version.txt and meta_type, but does anyone know a way to add more? This is only half an answer, but maybe it helps: I am not quite sure if you can do that the easy way from Python. (I.e. just define a

[Zope-dev] Anyone know how to add a property to a Zope Product (not its instances)?

2001-10-19 Thread Craeg K. Strong
I am developing a new Zope product in python. Normally one adds properties to a product like so: class newProduct(SimpleItem, etc): meta_type 'NewProduct' _properties = ( {'id': 'title', 'type':'string'}, { 'id':'description','type':'string'}, {'id':'foobar' ,