-----BEGIN PGP SIGNED MESSAGE-----
On 2 Aug 2006, at 06:37, Kees de Brabander wrote:
Apparently my knowledge of Zope/Python is still to limited.
I have a product that derives from Folder. When I add this product
folder via zmi I want to have it populated with other products to it
programmatically. I tried to do so in the __init__ function. That
objects like acl_user folders, but not with products in the products
directory. Can anyone send me in the right direction or at least
give a hint
where to look for a solution?
Do not do this in __init__ as you have no acquisition at that point.
Use manage_afterAdd for that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
-----END PGP SIGNATURE-----
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -