[Zope] creating zope folders and folder content
Dan Cherry
dscherry at bellsouth.net
Sat May 8 11:19:39 EDT 2004
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 at bellsouth.net
More information about the Zope
mailing list