[Zope] newbie-DTML passing url in query-string ?
Phil Harris
phil@philh.org
Tue, 28 Sep 1999 14:53:35 +0100
Hi Geir
I think what you want is something (untested) like this:
<dtml-var "_[qs]">
This get's the qs object from the current namespace (I think).
Anyway, try that, you never know it might work ;¬)
Phil
phil@philh.org
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Geir
B Hansen
Sent: Tuesday, September 28, 1999 2:40 PM
To: zope@zope.org
Subject: [Zope] newbie-DTML passing url in query-string ?
i have been trying to pass an url in a query-string to a method, like
this :
my.zopesite.com/function?qs="url to be sent"
- which works ok
the problem is that when i tell the function to render the url, it
intreprets it is a string.
If my function looks like this :
<!--#var standard_html_header-->
<dtml-var qs>
<!--#var standard_html_footer-->
...i just get an output of "url to be sent" instead of the content of
that url..
This seems reasonable enough to me, but how do i tell Zope to render the
contents of the document which id equals the query string ?
Do i have to do a <dtml-in> and check id against qs in an expression, or
is there an easier way ??
thx
------------------------------------------------
Geir B Hansen
geirh@funcom.com
Web-designer / Graphic artist
Funcom Oslo
------------------------------------------------
_______________________________________________
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 )