[ZPT] zope3-dev proposal on changing implicitly calling
Steve Alexander
steve at z3u.com
Fri Jul 25 10:43:12 EDT 2003
Dieter Maurer wrote:
> Steve Alexander wrote at 2003-7-24 09:39 +0300:
> > ...
> > >> Ok. What about when 'z' should not be called?
> > >
> > > Can you give me an example of when that's the case?
> >
> > z is a class object. You're more interested in getting an attribute or a
> > class method from it than creating a new instance.
>
> TALES already can control this: with the "nocall:" expression type.
> It behaves exactly like "path:" but does not call the last component.
I am aware of this.
In Zope 3, we want to be able to control whether the last component is
called or not from configuration, depending on the type of that object,
not from individual path expressions.
--
Steve Alexander
More information about the ZPT
mailing list