[Zope] aborting DTML parsing

chas panda@skinnyhippo.com
Sun, 05 Dec 1999 23:36:44 +0800


 
>> Just raise an error way down deep, and catch it at the higher method
>> with <dtml-try> and <dtml-except>.  I think these tags were added in
>> 2.0.0
>
>This is a solution, but i have to modify all my DTML documents. All
>documents are beginning with "<dtml-var standard_html_header>" and i COULD
>change all documents to "<dtml-try><dtml-var
>standard_html_header>....<dtml-except>...", but this is not my preferred
>solution.

This is a problem I've also encountered and, as you mention,
the try/except requires modifying all pages. I'd also like to
find a better solution.

Is there no equivalent of Python's sys.exit(0) ?

chas