--On 25. August 2007 07:35:06 -0400 [EMAIL PROTECTED] wrote:

I'm reading the zope book, 2.6. And I've worked through the ZopeZoo
tutorial in chapter 11. I want to make it possible to delete entries in
the GuestBook via its web interface. It uses a python script to create the
file with the line:
context.manage_addProduct['OFSP'].manage_addFile(id,
                                         title="", file=comments)

I assume I could write something like:

context.manage_deleteProduct['OFSP'].manage_removeFile(id)


folder.manage_delObjects(id)

-aj

Attachment: pgpEOat4C6M5N.pgp
Description: PGP signature

_______________________________________________
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 )

Reply via email to