1 Aug
2002
1 Aug
'02
8:20 p.m.
Max M writes:
... <dtml-if "aq_base.content_html()"> This will not work:
"aq_base" is not available in TTW code. The code above would raise an exception, when "content_html" is not an attribute of "aq_base". You come near (but it may fail in some circumstances) with <dtml-if "_.hasattr(aq_explicit,'content_html')"> Dieter