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

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


What about 

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

Paz

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



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