[Zope] problem with REQUEST.set

Alexander Staubo alex@mop.no
Thu, 5 Aug 1999 17:43:39 +0200


Also, your redirect is wrong, since redirect() takes an URL, not the
string name of a variable to read. It should be:

	<!--#call "RESPONSE.redirect(jumpToBase)"-->

-- 
Alexander Staubo             http://www.mop.no/~alex/
"It has taken the planet Earth 4.5 billion years to discover it is
4.5 billion years old." --George Wald

>-----Original Message-----
>From: wombat_harness@hotmail.com [mailto:wombat_harness@hotmail.com]
>Sent: 5. august 1999 17:32
>To: zope@zope.org
>Subject: [Zope] problem with REQUEST.set
>
>
>hey everyone,
>
>i am having BIG problems using REQUEST.set within Zope. I am trying to
>dynamically build a URL to redirect the browser to using the following
>code:
>
><!--#call "REQUEST.set('jumpToBase', '../foodirectory/index.html?member
>Num=' + userID)"-->
><!--#call "RESPONSE.redirect('jumpToBase')"-->
>
>but this is throwing back an error on the REQUEST.set part, the error
>looks as follows:
>
>Object: REQUEST.set('jumpToBase', '../foodirectory/index.html?memberNum
>=' + userDetails))
>File <string>, line 0, in ?
>TypeError: (see above)
>
>The userDetails variable is a INT value pulled from a database and i
>cannot understand why it is falling over on this!!
>
>Does anyone have any thoughts?
>
>Cheers,
>
>Wom..
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(To receive general Zope announcements, see:
>http://www.zope.org/mailman/listinfo/zope-announce
>
>For developer-specific issues, zope-dev@zope.org -
>http://www.zope.org/mailman/listinfo/zope-dev )
>