BackTalk to Document The Zope Book (2.6 Edition)/Appendix A: DTML Reference

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixA.stx#3-151

---------------

      branches=string -- Finds tree branches by calling the named
      method. The default method is 'tpValues' which most Zope objects
      support. 

        % Anonymous User - Dec. 12, 2003 7:52 pm:
         Hmmm. I'd think the following would make a tree containing only folders:

                 <dtml-tree branches="objectValues('Folder')" single=true>
                         [whatever]
                 </dtml-tree>

         But no dice. In fact, I can't get even get ... branches="objectValues()" ... to work, or ...
         branches=objectValues() ...
         Any hints?

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.