[Zope] GET variables..

Dieter Maurer dieter@handshake.de
Mon, 26 Mar 2001 20:04:26 +0200 (CEST)


After Dark writes:
 > Hi, how can I use a variable that I passed through a form
 > with a GET method?
 > 
 > Example:
 > -----------
 >        <form name="busca" action="pesquisa.htm" method=get
 > target="mainFrame">
 >          <input name=PrincipiaSearchSource size=12 value="">
 >          <input type=hidden name=raw ="">
 >        </form>
 > -----------
 > 
 > pesquisa.htm
 > 
 > <dtml-if PrincipiaSearchSource>
 >   <p><dtml-var PrincipiaSearchSource></p>
 > </dtml-if>
 > ------------
 > 
 > How can I make this work? And if I pass the argument by
You change the name or use
"REQUEST.form['PrincipiaSearchSource'].


Incidentally, many Zope objects define this name
and this definition is found before the one in REQUEST.
More on that:

  URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html


Dieter