[Zope] REQUEST.zzz or REQUEST['zzz']

Hans-Dieter Stich hdstich@hdstich.com
Thu, 11 Jul 2002 09:48:57 +0200


On Thu, 11 Jul 2002 09:16:21 +0200, you wrote:
>> 
>> which of the following ways to access the attribute 'zzz' of a form request 
is 
>> the right one and why:
>> 
>> <dtml-var "REQUEST.zzz">
>> 
>> or
>> 
>> <dtml-var "REQUEST['zzz']">
>> 
>
>shouldn't 
>
><dtml-var zzz>
>
>work? 

oops, I didn't mention that the DTML method which wants to access this 
attribute is called from the inside of a instance of my GoogleWebAPI Product, 
which in turn is called from a form in a DTML document:

<dtml-var "google.doGoogleSearch( zzz, render_method 
= 'doGoogleSearch_html' )">

and in 'doGoogleSearch_html' is:

<dtml-var "REQUEST.zzz">

/hd