[Zope] Tree Tag and DTML-Documents

Andrew Lahser andrew@apl-software.com
Wed, 2 Feb 2000 07:53:32 -0500


Chris,

A DTML Document has its own namespace, and therefore, no subobjects. A DTML
Method is actually a method of its container, so it will "see" all of the
subobjects of
the container that it is in.

Does that help?

Drew

----- Original Message -----
From: Chris Withers <chrisw@nipltd.com>
To: Zope Mailing List <zope@zope.org>
Sent: Wednesday, February 02, 2000 6:59 AM
Subject: [Zope] Tree Tag and DTML-Documents


> Hi,
>
> I can't get the tree tag to work in DTML documents. All they do is dump
the
> following HTML in:
>
> <TABLE CELLSPACING="0">
> </TABLE>
>
> They appear to work fine in DTML-Methods and what I'd like to do is have a
site
> navigator down the left of the page. I'm trying to do with with a
> standard_html_header that is as follows:
>
> <HTML><HEAD><TITLE><!--#var title--></TITLE></HEAD><BODY
BGCOLOR="#FFFFFF">
> <TABLE><TR><TD BGCOLOR="#FFE9A3">
>
> <dtml-tree OCM>
>   <dtml-var id> - <dtml-var title>
> </dtml-tree>
>
> </TD><TD>
>
> This is where it gets wierd. This only works when viewing DTML methods.
DTML
> documents have the same problem as above. Of course, index_html is a DTML
> document by default and so it doesn't show the navigator.
>
> Any ideas?
>
> Chris
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>