8 May
2004
8 May
'04
3:19 p.m.
Thanks - that works perfectly, and acts as a clarification to how objects are addressed from external methods (I failed to use getattr() - so all of my folder references were giving errorst) again, _thank you_! Dan On Saturday 08 May 2004 02:50 am, Ausum Studio wrote:
# 'self' is the container
self.manage_addFolder(folder_id, folder_title) new_folder = getattr(self, folder_id)
# create the Zope image object for the new thumbnail new_folder.manage_addProduct['OFSP'].manage_addImage(thumbnail_id, thumbnail_file, 'thumbnail image')
Ausum
-- Dan Cherry dscherry@bellsouth.net