Martijn, Just a quick followup, using:
<!--#with Templates--> <!--#var "_.getitem(_[template], 1)"--> <!--#/with-->
Oddly enough it works and I get a traceback! Both. I've never seen Zope do this before, any ideas? It rendered the page in *full*, then tacked a traceback onto it. The traceback that got tacked on is this: <PRE> Traceback (innermost last): File /home/jason/Zope/lib/python/ZPublisher/Publish.py, line 255, in publish_module File /home/jason/Zope/lib/python/ZPublisher/Publish.py, line 157, in publish File /home/jason/Zope/lib/python/ZPublisher/mapply.py, line 154, in mapply (Object: index_html) File /home/jason/Zope/lib/python/ZPublisher/Publish.py, line 98, in call_object (Object: index_html) File /home/jason/Zope/lib/python/OFS/DTMLMethod.py, line 157, in __call__ (Object: index_html) File /home/jason/Zope/lib/python/OFS/DTMLMethod.py, line 153, in __call__ (Object: index_html) File /home/jason/Zope/lib/python/DocumentTemplate/DT_String.py, line 513, in __call__ (Object: index_html) File /home/jason/Zope/lib/python/DocumentTemplate/DT_With.py, line 148, in render (Object: Contract_Templates) File /home/jason/Zope/lib/python/DocumentTemplate/DT_Util.py, line 295, in eval (Object: _.getitem(_[template],1)) File <string>, line 0, in ? KeyError: (see above) </PRE>ยช It thinks it had a problem with it, but it rendered it anyway? -- Jason Spisak webmaster@mtear.com