[Zope-CMF] Passing Multiple Variables Using RESPONSE.redirect

Mike Doanh Tran mtran@shufflemasterrd.com
Wed, 14 Aug 2002 09:27:36 -0600


Thanks Ed,    _.str() works.

On Wed 14 Aug 02 09:16, Ed Leafe wrote:
> 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

-- 
Mike Doanh Tran
Shuffle Master Inc.