Can we pass dtml-var to another dtml-var
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 <dtml-var name2> it is giving me an error so one could find solution for me Regards Manish -------------------------------------------------------------- QuantumLink Communications, Bombay, India
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
<dtml-var name2>
it is giving me an error
so one could find solution for me
Just use the variable name without the <dtml-var name1> bit i.e. <dtml-call "REQUEST.set('name1','bim_tiruchirapalli_admission')"> <dtml-call "REQUEST.set('name2',name1)"> /Matt -- Matt Goodall | Isotek Electronics Ltd email: mgg@isotek.co.uk | Claro House, Servia Road Tel: +44 113 2343202 | Leeds, LS7 1NL Fax: +44 113 2342918 | England
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
participants (3)
-
Matt Goodall -
news-list.zopeļ¼ innominate.de -
Rajani Iyer