[ZPT] ZPT on DTML documents vs. methods

Ron Bickers rbickers-dated-997833938.ff5611@logicetc.com
Tue, 7 Aug 2001 20:05:38 -0400


Given a Page Template 'view' that contains this:

  <div tal:replace="here">Contents</div>

Why does http://host/aDTMLMethod/view return the contents of the DTML
Method, but http://host/aDTMLDocument/view return an error instead of the
DTML Document contents?  The error I get is exceptions.AttributeError on
guarded_getattr in "<PathExpr standard:here>".

Is it accurate to conceptualize Page Templates as methods that can display
the contents of their parent?

_______________________

Ron Bickers
Logic Etc, Inc.