[Zope3-Users] How To Kill Zope

Marius Gedminas mgedmin at b4net.lt
Wed Jan 31 15:15:31 EST 2007


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

  <div metal:define-macro="foo"> ... </div>
  <div metal:use-macro="template/macros/foo"> ... </div>

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20070131/c7851731/attachment.bin


More information about the Zope3-users mailing list