[Zope-CMF] Passing Multiple Variables Using RESPONSE.redirect
Ed Leafe
ed@leafe.com
Wed, 14 Aug 2002 11:16:09 -0400
On Wednesday, August 14, 2002, at 10:23 AM, Mike Doanh Tran wrote:
> <dtml-call
> expr="RESPONSE.redirect('login_form?came_from=/bugzilla/editBug?id='+bug_id)
> ">
>
> -bug_id is an integer.
>
> I got the following Zope error:
>
> Error Type: TypeError
> Error Value: cannot add type "int" to string
>
> Does anyone have any ideas on how i can make this work?
Howzabout using str()?
expr="RESPONSE.redirect('login_form?came_from=/bugzilla/editBug?id='+str(
bug_id))"
___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://foxcentral.net