[Zope] How to force to expand a tree tag

Phil Harris phil.harris@zope.co.uk
Tue, 13 Feb 2001 11:08:51 -0000


Try setting a REQUEST variable like so:

<dtml-call "REQUEST.set('expand_all',_.int(1)">

before you call your tree tag

----- Original Message -----
From: "Francois-regis Chalaoux"
<Francois-regis.Chalaoux@sanofi-synthelabo.com>
To: <zope@zope.org>
Sent: Tuesday, February 13, 2001 9:54 AM
Subject: [Zope] How to force to expand a tree tag


> Hi All,
>
> How to force to expand a tree tag when you render it ?
> expand_all="1" as attribut seems to not work.
>
> Error:
> ====
> Invalid attribute name, "expand_all", for tag <dtml-tree
branches="publicObjects" skip_unauthorized="1" expand_all="1" sort=id>,
> on line 11 of menu.html
>
> FR
>
> _______________________________________________
> 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 )