22 Apr
2006
22 Apr
'06
12:22 p.m.
--On 22. April 2006 14:17:00 +0200 Thomas Adams <thomas.adams@onlinehome.de> wrote:
Hello,
on an own product (derived from ObjectManager) I try to code a render method, therefore I've coded this first
def index_html(self): return Globals.DTMLFile('dtml/viewKBArticle',globals())
usually you define index_html = Globals.DTMLFile('dtml/...', globals()) This is supposed to work and very common in almost all Zope 2 based products. -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting