[Zope] The tree Tag
Oscar Picasso
picasso@videotron.ca
Fri, 08 Oct 1999 13:08:57 -0400
Your explanations make the tree tag attributes much more clear to me.
Many thanks
>The object upon which the tree tag iterates. Usually a folder. For
>example, <dtml-tree content> would iterate over the folder /content.
>
>> leaves
>
>If a sub object doesn't have further subobjects, what should be
>displayed as a leaf?
>
>FolderA
> FolderB
> index_html
>
>If I say leaves="index_html" in my tree tag, then when you click on the
>+ next to FolderB, you'll see the content of index_html. Look at the
>source for your Quick_Start, I believe they do it there.
>
>> header
>
>something that shows up immediately after the expanded branch:
>
>- FolderA
> - FolderB
> This Is A Header
> + FolderB.1
> + FolderB.2
> + FolderC
>
>where the 'header' is a Document in FolderB that has "<p>This Is A
>Header" as it's only content.
>(header="header_doc")
>
>> footer
>Like header, but:
>- FolderA
> - FolderB
> +FolderB.1
> + FolderB.2
> This is a Footer
> + FolderC
>
>You might also want to look at
>http://www.zope.org/Members/cybertad/how_to/working_with_tree
>for some more info.
>--
>~mindlace
>
>
***************************
Oscar Picasso
picasso@videotron.ca
***************************