[Zope] Can we pass dtml-var to another dtml-var

Heiko Stoermer Heiko Stoermer <heiko.stoermer@innominate.de>
Fri, 05 May 2000 16:16:50 +0200


Rajani Iyer wrote:
> 
> Hi Every Body
> 
> Is there any way to pass dtml-var value to another dtml-var
> 
> for e.g
> 
> <dtml-call "REQUEST.set('name1','bim_tiruchirapalli_admission')">
> <dtml-call "REQUEST.set('name2','_[name1]'">
> or
> <dtml-call "REQUEST.set('name1','bim_tiruchirapalli_admission')">
> <dtml-call "REQUEST.set('name2',<dtml-var name2>">
> 
> and when i try to say

it's a lot simpler:
<dtml-call "REQUEST.set('name1','bim_tiruchirapalli_admission')">
<dtml-call "REQUEST.set('name2',name1))"> 
or
<dtml-call "REQUEST.set('name2',REQUEST['name1']))">

simply use the variable's name.


hope this helps,
Heiko
- 
heiko.stoermer@innominate.de
                                                        innominate AG
                                                     networkingpeople
fon: +49.30.308806-0 fax: -77               web: http://innominate.de