[ZPT] Re: a little more on scripts execution

Robert Rottermann robert@redcor.ch
Sat, 3 Aug 2002 19:51:34 +0200


Oh I seem to have misunderstood you.
Since scripts are not ZPT, you can not use here. However scripts are scripts
whether called from ZPT or DTML or what ever.
Therefore the namespace to use is probably always _

Robert
----- Original Message -----
From: "Michal Kurowski" <mkur@poczta.gazeta.pl>
To: "Robert Rottermann" <robert@redcor.ch>
Cc: <zpt@zope.org>
Sent: Saturday, August 03, 2002 7:06 PM
Subject: Re: a little more on scripts execution


> Robert Rottermann [robert@redcor.ch] wrote:
> > >
> > > Short question to you all:
> > > Is there eny equivallent for dtml "_" in a ZPT ?
> > > What I'd like to do is to set a bound namespace in a script.
> > >
> >
> > it is called here
>
> Great.
>
> But please note calling a script from dtml with:
>
> ##bind nasespace=_
>
> does work
>
> and from ZPT:
>
> ##bind nasespace=here
>
> does not.
>
> Cheers,
>
> --
> Michal Kurowski
> <mkur@poczta.gazeta.pl>
>