alan milligan writes:
I am not sure if this has been raised before on the list (a quick search of the archive did not indicate so), but Chapter 9, Advanced Zope Templates (pdf version), has an example on page 157, batching, with the ZTUtils Batch class, with the following: .... The line: start python:path('request/start') or 0; should read: start python:path('request/form/start') or 0; This is usually not necessary, "request/start" should usually work okay.
The default to zero does not work for me either. Instead I get a keyError on request/form/start not found (which goes away if I call this template with a hidden value). Assistance in fixing this would be appreciated too. I see! The example should probably be:
start python: path('request/start | nothing') or 0 I think I read a post in "zpt@zope.org" (i.e. the ZPT mailing list), that there have been recent changes (made it more consistent) in the exception handling of "path(...)". Dieter