Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-10 Thread Charlie Clark
Am 01.12.2008 um 16:49 schrieb Tres Seaver: 'context' is the canonical name for the object through which a script or templated was acquired (its aq_parent, in fact); 'here' is a long-deprecated alias for 'context'. 'context' is like the 'self' binding of a normal Python method. Action

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-01 Thread yuppie
Hi! Laurence Rowe wrote: yuppie wrote: David Glick wrote: Does anyone have an objection to me adding 'context' as an alias for 'object' in the expression context that is built when executing CMF action expressions (in getExprContext in CMFCore/Expression.py)? This would remove one

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-01 Thread Dieter Maurer
Ross Patterson wrote at 2008-11-30 11:25 -0800: ... I'm not really up on the historical considerations, but I'm definitely in favor of context and definitely opposed to object. object is too generic, the request is an object after all, everything is an object. context reads more like what it

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-30 Thread Laurence Rowe
yuppie wrote: David Glick wrote: Does anyone have an objection to me adding 'context' as an alias for 'object' in the expression context that is built when executing CMF action expressions (in getExprContext in CMFCore/Expression.py)? This would remove one common source of minor confusion

[Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-29 Thread David Glick
Does anyone have an objection to me adding 'context' as an alias for 'object' in the expression context that is built when executing CMF action expressions (in getExprContext in CMFCore/Expression.py)? This would remove one common source of minor confusion for beginning CMF/ Plone

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-29 Thread yuppie
David Glick wrote: Does anyone have an objection to me adding 'context' as an alias for 'object' in the expression context that is built when executing CMF action expressions (in getExprContext in CMFCore/Expression.py)? This would remove one common source of minor confusion for beginning