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 17:39:17 +0100
The only problem with 'REQUEST.SET ...' is that now I cannot collapse any individual branche of the tree cause expand_all is always on '1' !!
FR
phil.harris@zope.co.uk%internet le 13/02/2001 12:26:59
Pour : Francois-regis Chalaoux/FR-LABEGE/RESEARCH/SANOFI@Research
zope@zope.org%internet@WTFR
cc :
Objet : Re: [Zope] How to force to expand a tree tag
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Errors-To: zope-admin@zope.org
X-BeenThere: zope@zope.org
X-Mailman-Version: 2.0.1 (101270)
Precedence: bulk
List-Help: <mailto:zope-request@zope.org?subject=help>
List-Post: <mailto:zope@zope.org>
List-Subscribe: <http://lists.zope.org/mailman/listinfo/zope>, <mailto:zope-request@zope.org?subject=subscribe>
List-Id: Users of the Z Object Publishing Environment <zope.zope.org>
List-Unsubscribe: <http://lists.zope.org/mailman/listinfo/zope>, <mailto:zope-request@zope.org?subject=unsubscribe>
List-Archive: <http://lists.zope.org/pipermail/zope/>
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 )
_______________________________________________
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 )