[Zope] dtml-tree

Phil Harris phil.harris@zope.co.uk
Sun, 14 Oct 2001 11:32:56 -0400


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 )