10 Mar
2004
10 Mar
'04
2:30 p.m.
Florian Schulze wrote:
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.
I thnk you're misusing the macro feature here. Why does you macro substitution end up in not generating any output in certain circumtances? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk