Re: 'default' in 'metal:use-macro'

Dieter Maurer <[email protected]> Sat, 25 Jun 2005 08:31:00 +0200
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
Tonico Strasser wrote at 2005-6-24 14:11 +0200:
>is this expected to raise an exception?:
>
><div metal:use-macro="x|default">
>   <div metal:use-macro="y">
>     I'm not macro y.
>   </div>
></div>
>
>'x' and 'y' are not defined.

If both "x" and "y" are not defined, it is correct to get
an exception for a missing "y".


Did you look carefully at the full exception information (to be
found in the "error_log" object)?

Always do this when you see an exception (and include it in
questions send to this list).


-- 
Dieter