20 Feb
2006
20 Feb
'06
2:16 p.m.
(Thu, Feb 16, 2006 at 12:00:05PM -0500) zope-request@zope.org wrote/schrieb/egrapse:
From: Roman Klesel <roman_plonemail@lotuseyes.de> 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