[Zope] Tree tag: How to expand all leaves?

Alexander Staubo alex@mop.no
Wed, 26 May 1999 16:14:05 +0200


Unfortunately,
- it only expands the top-level items. Second-level items are not
expanded.
- it does not seem to work with Confera.

--
Alexander Staubo             http://www.mop.no/~alex/
"In the end, we all assume room temperature." --John Maynard Keynes

>-----Original Message-----
>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
>Martijn Pieters
>Sent: 26. mai 1999 15:58
>To: Alexander Staubo; Zope Mailing List (E-mail)
>Subject: Re: [Zope] Tree tag: How to expand all leaves?
>
>
>At 15:33 26/05/99 , Alexander Staubo wrote:
>>Is there a way to tell the tree tag to expand all branches/leaves
>>initially? Something <!--#tree expand_all=1-->?
>
>Yes, by setting expand_all to a non-zero value =)
>
>Set it in the namespace (using a call to REQUEST.set() or the
>#with using
>_.namespace()), or call the document containing the tree with
>?expand_all=1
>
>So:
>
><!--#call "REQUEST.set('expand_all', 1)"-->
><!--#tree-->
><!--#/tree-->
>
>will always display a fully expanded tree.
>
>--
>Martijn Pieters, Web Developer
>| Antraciet http://www.antraciet.nl
>| Tel: +31-35-6254545 Fax: +31-35-6254555
>| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
>| PGP:
>http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
>------------------------------------------
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(For developer-specific issues, use the companion list,
>zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>