[Zope] How to delete and edit objects

Pinko Palino pinkopalino@mail.com
Sun, 08 Jul 2001 18:56:50 +0800


Hi,

1. I made a form to add text objects in Zope (Learned form Zope Book!). I used python script for that:
 id='entry_%d' % len(context.objectIds())
 context.manage_addProduct'OFSP'].
   manage_addDTMLDocument(id, title="", file=comments)
 doc=getattr(context, id)
 doc.manage_addProperty('guest_name',
  guest_name, 'string')

2. I can show/display those objects:
 <dtml-in expr="objectValues('DTML Document')"
   sort="bobobase_modification_time" reverse>

3. How I can delete (edit) those objects with HTML form/PYTHON scripr? I like to made interactive "delete" form similar to Zope managment interface.

Thanks, Pinko        

-- 

_______________________________________________
FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

FREE PC-to-Phone calls with Net2Phone
http://www.net2phone.com/cgi-bin/link.cgi?121