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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to