Hello, When a content is rendered by the Zpublisher, its index_html() is called. When it is rendered in DTML, e.g., as <dtml-var content>, its __call__ method is called. The __call__ method is also called if the object appears in <dtml-if content> or <dtml-with content>. Is it possible to render these two cases differently from <dtml-var content>?
Regards, -- Bjorn _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )