[Zope] Changing REQUEST in a javascript

Passin,Thomas B. (Tom) tpassin@mitretek.org
Wed, 18 Sep 2002 14:02:11 -0400


[ Dag Nygren]
=20
> > Tell us what you really want to accomplish and we will help=20
> you work=20
> > out how to do it.
>=20
> Yes, of course, sorry for the a bit naive question. I am new=20
> to Zope and Phyton and had difficulties getting the right=20
> picture in my mind about what is going on here. Additionally=20
> the  Zope way of  "inheriting"  the REQUEST  object=20
> confused me.
>=20
> The original problem was creating a mutiselect form where=20
> select#1 changed the alternatives of Select#2.

Usually people do this kind of thing using javascript in the browser.
This reduces the number of queries to the server, and also improves the
responsiveness of the page since the user does not have to wait for a
response from the server when she changes something in a form.

>  I also did not want the URL to show the parameters.

Then use the POST method in the form.  Zope will treat a GET (the
default) or POST the same way.

Cheers,

Tom P