[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cmf
Subject: [Zope-CMF] Re: [dev] 'request' in expression context
From: Jens Vagelpohl <jens () dataflake ! org>
Date: 2006-04-27 9:44:37
Message-ID: 0F9370DC-A199-4E24-9085-3A0D747C5E5A () dataflake ! org
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27 Apr 2006, at 10:34, yuppie wrote:
> Jens Vagelpohl wrote:
>> On 26 Apr 2006, at 17:25, yuppie wrote:
>>>
>>> In createExprContext 'request' is currently set to getattr
>>> (object, 'REQUEST', None). 'object' might be None, making
>>> 'request' None as well.
>>>
>>> Would anybody mind if I change that to getattr(portal, 'REQUEST',
>>> None)?
>> I don't mind, just wondering what cases you came up against where
>> "object" was None.
>
> The 'object' argument for listFilteredActionsFor, listActionInfos
> and getActionInfo is optional. If it is omitted, 'object' is set to
> None.
Ah, thanks
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEUJKFRAx5nvEhZLIRAvk0AJ4ktW/wjB4970kMDCWvWVhjnDFNkQCgk6pg
4Z9EcFjsH8i1cAalKGEaMQE=
=VUW6
-----END PGP SIGNATURE-----
_______________________________________________
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic