[Zope] I'm missing something really basic

Chris Ryland cpr@emsoftware.com
Wed, 6 Jun 2001 20:49:59 -0400


I've been using Zope for a couple of weeks now fairly intensely, and
learning fast. But then I run into the most obvious question in the world,
and I'm stumped (perhaps it's too obvious). I've scoured the documentation,
but I can't find it. So here goes.

How does a dtml document refer to the URL parameters passed to it?

E.g., I have a top-level index_html dtml method containing:

<dtml-var standard_html_header>
<dtml-var content fmt=structured-text>
<dtml-var standard_html_footer>

and a dtml document 'content' at each level in my tree with stx. So far, so
good.

But now I want to pass two parameters to one of these 'content' document, as
in

http://localhost:8080/about/news?product=Xdata?newstype=review

I can't for the life of me figure out how to get those two parameters. They
don't seem to be in the context, and they're only in the REQUEST in the raw
parameter string (which I guess I could parse).

Is it because this is a non-forms document that I don't get the parameters?
--
Cheers!
Chris Ryland
Em Software, Inc.
www.emsoftware.com