Though you can make a working product without it, InitializeClass() ensures that any explicit security assertions you make for your object are applied correctly. More info: http://dev.zope.org/Wikis/DevSite/Projects/DeclarativeSecurity/ZopeSecurityF... HTH, Dylan At 01:29 AM 1/8/2003, Matthew Russell wrote:
Hi all, have been experimenting with Products of late, I have a directory: FOO and in it. __init__.py with the correct defintion for initialize() and foo,py with a Product Interface and Implementation a la book.
but I forgot one thing, a line that says :
InitializeClass(MyProduct)
Now, my product works fine <u>without</u> this line, and as I'm a curious sort, was wonderiing if anyone could tell me why if you have got initialze() in __jnit__.py why one would <i>need</i> to InitializeClass() in Product.py??
tia Matt
_______________________________________________ Zope maillist - Zope@zope.org 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 )