[Zope-dev] problems with dtml-let

Federico Di Gregorio fog@mixadlive.com
Fri, 17 Mar 2000 15:54:14 +0100


Scavenging the mail folder uncovered Evan Simpson's letter:
> ----- Original Message -----
> From: Federico Di Gregorio <fog@mixadlive.com>
> > <dtml-let lingua="32">
> > <dtml-in select_lingua_on_id>...</dtml-in>
> > </dtml-let>
> 
> dtml-let is designed to add local names, which aren't visible to called
> objects.  REQUEST.set is designed to create global names, which are visible
> everywhere from the moment they are created to the end of the request.

ooh... so dtml-let is almost unusable with my style of programming 
(lots of subobjects that get included by dtml-var.)

thank you for the explanation,
federico

-- 
Federico Di Gregorio
MIXAD LIVE System Programmer                           fog@mixadlive.com
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
              All programmers are optimists. -- Frederick P. Brooks, Jr.