[Zope] newbie question: to edit/delete in zodb

Vinoth mail2vinoth at yahoo.com
Fri Aug 29 13:01:14 EDT 2003


Hi
I am a newbie to zope. I need a sample code to perform,
editing/deleting properties of zodb object
I use the following code to add a file to a folder as well as 
properties of that.
//////////////
entries_folder.manage_addProduct['OFSP'].manage_addFile(id, title="", 
content_type="text/plain", file=comments)
# add a required properties
entry=getattr(entries_folder, id)
entry.manage_addProperty('name', name, 'string')
////////////////
Thanks in advance,
-visu


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zope.org/pipermail/zope/attachments/20030829/1fc0c91e/attachment.htm


More information about the Zope mailing list