Well, the generic method is to create a script that you call in the start of you ZPT that returns a dictionary with all the data to be displayed. This can also be the same script that actually does the deletion.
http://blogs.nuxeo.com/sections/blogs/lennart_regebro/2005_04_19_python_statement/
Well. This is not *the* generic method, its one of two patterns which have both their pros and cons. See the File Library example for doing it the other way round, calling the template at the end of the script:
http://www.plope.com/Books/2_7Edition/SimpleExamples.stx#1-8
Cheers, Yuppie
_______________________________________________
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 )