[Zope] How to force to expand a tree tag

Francois-regis Chalaoux Francois-regis.Chalaoux@sanofi-synthelabo.com
Tue, 13 Feb 2001 12:41:15 +0100


No, it does not work, sniff. Well tried.
Even strange cause <a href="&dtml-URL0;?expand_all=1" target="menu">Expand All</a> works !!!!!

FR

> 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