[Zope] Re: How to make a ZPT-based form that calls itself? (Part II)

yuppie y.2005- at wcm-solutions.de
Thu May 19 05:32:24 EDT 2005


Lennart Regebro wrote:
> 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



More information about the Zope mailing list