--On 22. April 2006 14:17:00 +0200 Thomas Adams <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting

Attachment: pgpp9zoReIzIh.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to