Re'f. : RE : [Zope] How to force to expand a tree tag

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


Francois-regis Chalaoux
13/02/2001 12:41
Pour :	phil.harris@zope.co.uk
zope@zope.org
cc :	 

Objet :	RE : [Zope] How to force to expand a tree tag

Sorry Phil, it works now.
I realize that expand_all = 0 is not possible so I always stayed expand. With collapse_all = 0 I come back to collapse. Good.

Bye, FR

> 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