On Fri, 2 Jun 2000, Felipe Alvarez Harnecker wrote:
> <let a="'1'"
> <dtml-call "REQUEST.set('a','2')">
> <dtml-var d>
> guess what:
> it renders
> That is d is not a string but an expression.
Hey, this is a cool trick <grin>.
What is happening here is that you are assigning the *function* to
d, not its result, so when you do the dtml-var, dtml calls the
function and it gets evaluated in the current context. If you make
your let expression something like (untested):
I think you'll get the result you were looking for. (The _.None,_ pass
the namespace in to the method so that it can find a b and c.)
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -