5 Dec
1999
5 Dec
'99
3:36 p.m.
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