I have a folder with some subfolders and subdocuments. I want to create a tree view of it: <dtml-var standard_html_header> <dtml-tree> <dtml-var id> </dtml-tree> <dtml-var standard_html_footer> And all Zope does is create a document with: <TABLE CELLSPACING="0"> </TABLE> in it (plus the normal headers, of course). Obviously I am doing something wrong. What is it? :-( Considering this seems to be exactly what I find in the Docs, I'm really wondering. Nils -- "Fool me seven times, shame on you. Fool me eight or more times, shame on me." -- Amy
Nils Jeppe wrote:
I have a folder with some subfolders and subdocuments. I want to create a tree view of it:
<dtml-var standard_html_header> <dtml-tree> <dtml-var id> </dtml-tree> <dtml-var standard_html_footer>
And all Zope does is create a document with:
<TABLE CELLSPACING="0"> </TABLE>
in it (plus the normal headers, of course).
Obviously I am doing something wrong. What is it? :-(
Considering this seems to be exactly what I find in the Docs, I'm really wondering.
Do you have other "trees" around? You can have only one tree in action at a time AFAIK. -- Best regards / Mvh., Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
Looks to me as if the code is in a DTMLDocument, put it into a DTMLMethod and lo and behold it works as expected. The reasons for this were discussed earlier today in this list, check back for mails entitled '[Zope] dtml docs, methods and trees, newbie qs' hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Nils Jeppe" <nils@jeppe.de> To: <zope@zope.org> Sent: 28 February 2000 21:51 Subject: [Zope] dtml-tree?
I have a folder with some subfolders and subdocuments. I want to create a tree view of it:
<dtml-var standard_html_header> <dtml-tree> <dtml-var id> </dtml-tree> <dtml-var standard_html_footer>
And all Zope does is create a document with:
<TABLE CELLSPACING="0"> </TABLE>
in it (plus the normal headers, of course).
Obviously I am doing something wrong. What is it? :-(
Considering this seems to be exactly what I find in the Docs, I'm really wondering.
Nils
-- "Fool me seven times, shame on you. Fool me eight or more times, shame on
me."
-- Amy
_______________________________________________ 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 )
participants (3)
-
Nils Jeppe -
Phil Harris -
Steen Suder