[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Appendix A: DTML Reference

nobody@nowhere.com nobody@nowhere.com
Mon, 19 Aug 2002 19:29:31 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixA.stx#3-174

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

      Display a tree rooted in another object, using a custom branches
      method::

        <dtml-tree expr="folder.object" branches="objectValues">
          Node id : <dtml-var getId>
        </dtml-tree>

        % rklahn - Aug. 19, 2002 7:29 pm:
         It is often useful to generate a tree of your parent, from a DTML document. I think it would be helpful if an
         example was provided that performed this function, such as:
         <dtml-tree expr="aq_parent" skip_unauthorized="1">
           <a href="&dtml-absolute_url;"><dtml-var title_or_id></a>
         </dtml-tree>