[Zope] Unable to form a string with other strings

Willie Peloquin wpeloqui@ismi.net
Fri, 5 Nov 1999 15:30:00 -0600


Hi Gang,

I am trying to form a URL by concatenating some constant strings with some
dtml variables. The variables contain the proper values, but they do not
pass into the set. I have included some sample code and the the results.

<!--#call "REQUEST.set('mapUrl', 'http://www.mapquest.com/cgi-bin/'
    'ia_free?width=800&height=500&'
    'streetaddress=<dtml-var address>&'
    'city=<dtml-var city>&'
    'state=<dtml-var state>'
    )"-->

<dtml-var mapUrl><BR>
<dtml-var address><BR>
<dtml-var city><BR>
<dtml-var state><BR>

It produces the following results:

http://www.mapquest.com/cgi-bin/ia_free?width=800&height=500&streetaddress=&
city=&state=
989 Veranda View Ave.
Las Vegas
NV

What am I doing wrong here?

Thanks,

Willie


Willie Peloquin
Senior Software Engineer - Contract
http://www.ismi.net/~wpeloqui

"It is unwise to stray from the obvious and simple."