[Zope] newbie question - variables?

jonatan jonatanpelikan@freemail.hu
04 Feb 2003 00:10:58 +0100


i have two functions: page1 and page2

page1 contains:

<dtml-call expr="REQUEST.set('var1','do not work')">
<dtml-var page2>



page2:

<dtml-var REQUEST>
<dtml-var var1>


this makes a KeyError for both ....

and if i say 
<dtml-var expr="page2(var2='hey there')">

and in page2:

<dtml-var var2>

then this works ...

how's all this? how can i access the caller's namespace?


thanks for the help,


jonatan