On Tue, 26 Sep 2000 16:11:50 +0100, Chris Withers <[EMAIL PROTECTED]>
wrote:

>So, if I give my product a class attribute of isDocTemp=1, what
>signature should I give my product's __call__ method so it picks up the
>DTML namespace?

Interestingly, Ive just put a HowTo that does this
<http://www.zope.org/Members/htrd/howto/FunctionTemplate>

This is a wrapper that that lets an old dtml file be replaced with a
python function, without having to update all the old dtml files that
call it.

In other words, Internalized External Methods ;-)

Why? Because Ive only just realized how error-prone non-trivial dtml
can be.    (and how ugly error-free dtml is)

hth,



Toby Dickenson
[EMAIL PROTECTED]

_______________________________________________
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 )

Reply via email to