Ah - I had the same question and your answer solved the problem of the tree not displaying - thank you. I have one further question - and that is how do I get this dtml-tree containing dtml method to display in a page template I have tried something like <span tal:content="structure here/tree3">method tree</span> where tree3 is the method to create the tree. However this only displays some static text included in tree3. Is it possible to get this working with page templates? Cheers Adrian On 2001.10.14 23:32 Phil Harris wrote:
Copy your dtml and put it into a dtmlMethod, trees don't work as you wrote in a dtmlDocument.
The reason is basically theat dtmlDocument is itself a container, that has no content, so when you put the dtml you did into a dtmlDocument you get back exactly what you ask for, nothing.
On Sun, 14 Oct 2001 11:30:16 +0200 "Marc O. Sandlus" <marc@sandlus.de> wrote:
I wonder if there is any working dtml-tree example out there?
I tried (each enclosed with <dtml-var standard_html_[header|footer]>:
<dtml-tree> <dtml-var id> </dtml-tree>
and this
<dtml-tree> <dtml-var title_or_id> </dtml-tree>
and this
<dtml-tree> <dtml-var getId> </dtml-tree>
but I get just empty pages.
TIA Marc
_______________________________________________ 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 )
_______________________________________________ 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 )
Disclaimer: This e-mail is confidential to the addressee and is the view of the writer, not necessarily that of the Department of Environmental Protection, which accepts no responsibility for the contents. If you are not the addressee, please notify the Department by return e-mail and delete the message from your system. You must not disclose or use this information in any way. No warranty is made that this material is free from computer viruses.