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

Robert Rottermann robert@redcor.ch
Thu, 11 Jul 2002 15:07:06 +0200


REQUEST[zzz]
and REQUEST.zzz
are ok
Robert
----- Original Message -----
From: "Hans-Dieter Stich" <hdstich@hdstich.com>
To: <zope@zope.org>
Sent: Thursday, July 11, 2002 9:48 AM
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 )
>