[Zope] view DTML source

Dieter Maurer dieter@handshake.de
Fri, 24 Nov 2000 22:06:22 +0100 (CET)


Anders Eriksson writes:
 > ... view source traceback ...
 >     (Object: standard_html_header)
 > AttributeError: __call__

That is very strange as "standard_html_header" does have
a "__call__" method.

Thus, I can not tell you, why you see this behaviour.

However, you may use "document_src" directly in the
URL. I.e. you do not need a special DTML method 'view_source".

Try something like this:

    http:..../index_html/document_src


I know, it would be nicer to use "view_source" but ....



Dieter