[Zope] Classes

Shalabh Chaturvedi shalabh@pspl.co.in
Mon, 28 Feb 2000 16:50:02 +0530


From: Tom Deprez
> Hi,
>
> Is there a view which allows you to map a method to the creation of a class?
> (eg, like we map a propertiesform to the properties view)
>
> ie. A method which is operated when a class is created?
>
> Thanks in advance,
>
> Tom.

What exactly do you want to do ?

If you're working with ZClasses, I think what you want is the Factory. When you
add a 'Zope Factory' to Product, you really associate a method with an item in
the ubiquitous drop down 'add' list.

Hope this helps.

Shalabh