Two tree tags in a DTML Method/Document?
Am I doing something wrong, or can I only have one tree tag in a DTML method/Document? (excuse the gormless example, it was the quickest one I could find...) <!--#tree id=alpha1 branches_expr="objectValues('Folder')"--> <A HREF="<!--#var tree-item-url-->"> <!--#var title_or_id--> </A> <!--#/tree--> <hr> <!--#tree id=alpha2 branches_expr="objectValues('Folder')"--> Tree#2:<A HREF="<!--#var tree-item-url-->"> <!--#var title_or_id--> </A> <!--#/tree--> Error: Missing doc string traceback: Traceback (innermost last): File /home/nnle/Zope-2.0.0b1-solaris-2.6-sparc/lib/python/ZPublisher/Publis h.py, line 256, in publish_module File /home/nnle/Zope-2.0.0b1-solaris-2.6-sparc/lib/python/ZPublisher/Publis h.py, line 145, in publish File /home/nnle/Zope-2.0.0b1-solaris-2.6-sparc/lib/python/ZPublisher/BaseRe quest.py, line 325, in traverse File /home/nnle/Zope-2.0.0b1-solaris-2.6-sparc/lib/python/ZPublisher/HTTPRe sponse.py, line 509, in debugError NotFound: (see above) Tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
At 16:45 27/07/99 , Tony McDonald wrote:
Am I doing something wrong, or can I only have one tree tag in a DTML method/Document? (excuse the gormless example, it was the quickest one I could find...)
<!--#tree id=alpha1 branches_expr="objectValues('Folder')"--> <A HREF="<!--#var tree-item-url-->"> <!--#var title_or_id--> </A> <!--#/tree-->
<hr> <!--#tree id=alpha2 branches_expr="objectValues('Folder')"--> Tree#2:<A HREF="<!--#var tree-item-url-->"> <!--#var title_or_id--> </A> <!--#/tree-->
Yup, you can only have one tree tag in a document. Bother eh? -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (2)
-
Martijn Pieters -
Tony McDonald