Re: [Zope-dev] getting request variables values

2000-07-21 Thread Steve Alexander
Chris Withers wrote: Evan Simpson wrote: The value you're after is stored in the 'environ' section of the request. Unlike 'other' and 'cookies' keys, 'environ' keys can't generally be fetched as attributes or keys of REQUEST. You need to access them as REQUEST.environ['keyname'].

Re: [Zope-dev] getting request variables values

2000-07-21 Thread Steve Alexander
Steve Alexander wrote: However, looking in the code, it starts off by looking in "other", and doesn't look in "environ" at all. I suggest a patch to go right after the method's docstring: def __getitem__(self,key, default=_marker, # Any special internal marker

Re: [Zope-dev] getting request variables values

2000-07-21 Thread Steve Alexander
Steve Alexander wrote: My question is "why was __getitem__ of HTTPRequest.py designed this way?". Is there a good reason that it filters the keys according to membership of a standard-cgi-keys list, or whether they start with 'HTTP_' ? Would there be any disadvantage to altering

[Zope-dev] zzLocale 0-0-3a released on Zope Japan

2000-07-21 Thread Yves-Eric Martin
Hi Zopistas, This is the second alpha release of zzLocale, a Zope locale support Product. zzLocale provides a framework for Zope interface internationalization (Zope and Products management screens). The localization is done on a per request basis, which allows developers from

Re: [Zope-dev] getting request variables values

2000-07-21 Thread Shane Hathaway
Steve Alexander wrote: My question is "why was __getitem__ of HTTPRequest.py designed this way?". Is there a good reason that it filters the keys according to membership of a standard-cgi-keys list, or whether they start with 'HTTP_' ? Would there be any disadvantage to altering

Re: [Zope-dev] Redirecting from the manage interfaces.

2000-07-21 Thread Dieter Maurer
Erik Enge wrote: call, it won't redirect. So you should be able to achieve the same results just by invoking manage_addImage without including the REQUEST object. But I have to pass something with the REQUEST, or else it won't add the image, right? I do not think so. "manage_addImage"