[Zope] How to get the variable in an URL ?
   
    Dieter Maurer
     
    dieter@handshake.de
       
    Fri, 26 Apr 2002 22:10:02 +0200
    
    
  
Pascal Samuzeau writes:
 > I have a link as :                                                    
 >                                                                       
 > <a href="http://website/folder/document?variable=try-it">Try</a>      
 >                                                                       
 > I want to get the variable in my document.                            
 >                                                                       
 > I did REQUEST.form['varibale']. But it doesn't work, of cource, I     
 > haven't a form.                                                       
 >                                                                       
 > What i the syntax t oget this variable???                             
The syntax is correct:
    <dtml-var "REQUEST.form['variable']">
should give you "try-it".
If it does not, maybe your browser does something strange.
Use "tcpWatch" or another TCP logger to check whath the browser
precisely sends to Zope (or look into "var/Z2.log").
Dieter