27 Apr
2000
27 Apr
'00
5:03 p.m.
On Thu, 27 Apr 2000, Geoff Gardiner wrote:
Is there some reason why the insertion of a variable into a redirect might not work? Thus:
<dtml-let param="'sometext'"> -- sets param <dtml-var param> -- prints param as 'sometext' <dtml-call "RESPONSE.redirect('processform?withparam=<dtml-var param>')"> -- sends the string 'withparam=' across, missing the param value
The characters making up 'sometext' are valid HTML characters.
DTML tags cannot be used inside DTML tags. Something like this <untested> should work: <dtml-call "RESPONSE.redirect('processform?withparam='+param)"> Pavlos