[ZPT] Re: 'default' in 'metal:use-macro'

Tonico Strasser contact_tonico at yahoo.de
Mon Jun 27 15:03:07 EDT 2005


Tonico Strasser schrieb:
> Hi,
> 
> 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 yes I'll file a bug.

Bug and use case:
<http://www.zope.org/Collectors/Zope3-dev/420>

Tonico



More information about the ZPT mailing list