(Thu, Feb 16, 2006 at 12:00:05PM -0500) [EMAIL PROTECTED] wrote/schrieb/egrapse: > From: Roman Klesel <[EMAIL PROTECTED]> > Still I can't get what I want. > > when I now do: > > system.manage_addProduct['OFSP'].manage_addFile(fid, > title='', > file=cpu_load, > content_type='text/plain', > precondition='') > > I get: > > AttributeError: _getProducts
manage_addFile (and some others like manage_addFolder, ...) work directly without xy.manage_addProduct[...]. That part is in the Zope book. The syntax with manage_addProduct[... is used for filesystem based products (like the stuff you have in your instances "Products" folder). Regards, Sascha _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )