[Zope] Howto test if macro evaluates to nothing

Florian Schulze florian.proff.schulze at gmx.net
Tue Mar 9 05:44:20 EST 2004


Hi!

I would like to know wether there is a way to test if a macro evaluates to 
nothing.

I tried the following:
<div tal:condition="here/my_macros/macros/macro_name"
      metal:use-macro="here/my_macros/macros/macro_name">
</div>

But the macro returns a tree of lists and tuples.

Regards,
Florian Schulze




More information about the Zope mailing list