Re: [Zope3-Users] How To Kill Zope
On Wed, Jan 31, 2007 at 10:28:14AM -0500, Stephan Richter wrote: > On Wednesday 31 January 2007 08:49, Tom Gross wrote: > > the first one should be fine, it displays the contents of the request. > > The second one tries to render the template within the template within > > the template a classic recursion error. > > What do you want to do? > > Really? "template" should not even be available as top-level namespace. It > should raise a TraversalError or somesuch. Why? I sometimes use ... ... in a page template. Marius Gedminas -- A secret: don't tell DARPA I'm not building the sun destroying weapon they think I am. -- Michael Salib, the author of Starkiller signature.asc Description: Digital signature ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] How To Kill Zope
On Wednesday 31 January 2007 08:49, Tom Gross wrote: > the first one should be fine, it displays the contents of the request. > The second one tries to render the template within the template within > the template a classic recursion error. > What do you want to do? Really? "template" should not even be available as top-level namespace. It should raise a TraversalError or somesuch. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] How To Kill Zope
Hi David, the first one should be fine, it displays the contents of the request. The second one tries to render the template within the template within the template a classic recursion error. What do you want to do? Cheers -Tom David Johnson wrote: I'm not sure what I'm doing wrong (again) here, but the following two code snippets in a ZPT will kill the Zope instance: This a Test Page. The title of this page is: This a Test Page. The title of this page is: -- David ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] How To Kill Zope
I'm not sure what I'm doing wrong (again) here, but the following two code snippets in a ZPT will kill the Zope instance: This a Test Page. The title of this page is: This a Test Page. The title of this page is: -- David ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users