[Zope] Q: External method processing (D/H)TML forms?

J.R. van Ossenbruggen Jacco.van.Ossenbruggen@cwi.nl
Fri, 22 Sep 2000 17:40:36 +0200


Hi, 

I want to pass input from a DTML form to an external method.  So far
the DTML is actually just a plain HTML page:

 <form action="external-method" > 
  <input name="foobar">
  <input type=submit value="Process">
 </form>

If I fill in "test" in the form, my external method is beging called
correctly, e.g. the URL is ../external-method?foobar=test as I
expected.

But how do I access that "foobar" value from Python in the external
method?

It is currenly defined like:

 def external-method(self):
    # is there a self.foobar or something?
    ...

Any help will be highly appriciated by this Zope newbie!

Cheers,

	Jacco