[Zope] The Honest Scoop on Zope

Martijn Pieters mj@antraciet.nl
Thu, 09 Sep 1999 10:06:11 +0200


At 09:27 09/09/99 , Martijn Faassen wrote:
>John Goerzen wrote:
>[snip]
> > But, dtml-with or dtml-let won't work, because I have to close the
> > tags for them before the closing dtml-unless tag -- I can never get to
> > the code below with the new value.  How does one get around this?
>
>I suspect you might want to look into REQUEST.set(). i.e.:
>
><dtml-call "REQUEST.set('foo', 'value of foo')">

But nobody reads his mail properly =)

He just said he had problems with these variables dissapearing.

My answer:

If your variables don't exist anymore in sub mthods, you didn't pass in the 
REQUEST object. Make sure that you call the method with REQUEST=REQUEST in 
their call..

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------