[Zope] .dtml files

Jonothan Farr jfarr@real.com
Wed, 12 Jul 2000 12:24:15 -0700


> I have found function calls such as:
> manage_roleForm=HTMLFile('roleEdit', globals()) which I believe creates
> an HTML document template from the named file. But, what is the
> mechanism that calls/displays mange_roleForm?

The class heirarchy looks something like this:

Globals.HTMLFile
    DocumentTemplate.HTMLFile
        DT_HTML.HTMLFile
            DT_HTML.HTML
                DT_String.String

You want to look at the __call__ method of the DT_String.String class for
enlightenment, although I'll warn you that it's likely to make anyone but Jim's
head explode. ;)

--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998