[Zope] stupid question I guess

Phil Harris phil.harris@zope.co.uk
Wed, 7 Jun 2000 15:14:46 +0100


Is it global to the page, or local to the page ?!?!?


----- Original Message -----
From: "Andrew Kenneth Milton" <akm@mail.theinternet.com.au>
To: "Chris Withers" <chrisw@nipltd.com>
Cc: "josh on" <josh@zesty.com>; <zope@zope.org>
Sent: Wednesday, June 07, 2000 3:05 PM
Subject: Re: [Zope] stupid question I guess


> +----[ Chris Withers ]---------------------------------------------
> | josh on wrote:
> | > can I set a local variable in zope on a dtml page
> | > <dtml-var variablename = 1>
> |
> | Yup:
> |
> | <dtml-call "REQUEST.set('variablename',1)">
> |
> | Nice syntax, huh? ;-)
>
> Tsk tsk, that's global :-)
>
> <dtml-let variablename=1>
> ...
> ...
> </dtml-let>
>
> --
> Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew
Milton
> The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   |
> ACN: 082 081 472                     |  M:+61 416 022 411   | Carpe Daemon
> PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|
>
> _______________________________________________
> 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 )