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

Paz paz@chello.nl
Thu, 11 Jul 2002 18:32:54 +0200

What about 

<dtml-var "REQUEST['zzz']">


-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
Hans-Dieter Stich
Sent: Thursday, July 11, 2002 9:49 AM
To: zope@zope.org
Subject: Re: [Zope] REQUEST.zzz or REQUEST['zzz']

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

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
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">


Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )