[Zope] set var ?

Michel Vayssade michel.vayssade@utc.fr
Thu, 18 Oct 2001 16:39:52 +0200 (MET DST)


On Thu, 18 Oct 2001, Casey Duncan wrote:
> > <dtml-unless "_.has_key('lg')">
> >      *** <dtml-var lg missing='****' >
> > </dtml-unless>
> >
> > I would like to do something like :
> >
> > <dtml-unless "_.has_key('lg')">
> > 	<dtml-var "_['lg']='fr'">
> > </dtml-unless>

> This will work:
> <dtml-unless name="lg">
>    <dtml-call expr="REQUEST.set('lg','fr')">
> </dtml-unless>

fine.
thank you

--
  _/   _/ _/_/_/  _/_/ Michel.Vayssade@UTC.fr    Service Informatique
 _/   _/   _/  _/      T:33/0-3.44.23.49.24 Universite de Technologie
_/   _/   _/  _/       F:33/0-3.44.23.46.77 BP 20.529 60205 Compiegne
 _/_/    _/    _/_/    _ mv@utc.fr __/www.utc.fr/~vayssade____ France