[Zope] with a variable

Dieter Maurer dieter@handshake.de
Fri, 12 Jan 2001 23:31:29 +0100 (CET)


josh on writes:
 > <dtml-with 979226100>
This interprets "979226100" as a name!
 > <dtml-var attribute>
 > </dtml-with>
 > 
 > This doesn't:
 > <dtml-call "REQUEST.set('userid', 979226100)">
This interprets "979226100" as an integer.

You could use
   <dtml-call "REQUEST.set('userid', _.getitem('979226100'))">


Dieter