[Zope] Passing vars in a REDIRECT
Michael Guerrero
mguerrero@tachyon.net
Tue, 15 Oct 2002 12:19:03 -0700
All,
At the end of some processing I want to redirect the user to another =
page using the value of an id field:
If I hard code the emp_id in it works.
<dtml-call "RESPONSE.redirect('view_by_id?emp_id=3D1741')">
However if I try to replace the hardcoded value with a dtml-var
<dtml-call "REQUEST.set('emp_id',1741)">
<dtml-call "RESPONSE.redirect('view_by_id?emp_id=3D<dtml var emp_id>')">
I get ththe following error: Invalid integer value for emp_id.
I've tried various combinations of quotes and double-quotes with no =
luck.
Is ther another way to do this?
Thanks.
Mike