[ZPT] zope3-dev proposal on changing implicitly calling
Florent Guillaume
fg at nuxeo.com
Tue Jun 24 17:38:50 EDT 2003
In article <3EF75763.4040301 at nipltd.com> you write:
> eg, I want:
>
> context/somefunc()/something/etc
>
> ...so I write:
>
> define="x context/somefunc"
> replace="x/something/etc"
To be honest, this sucks. I've always wanted to write
context/somefunc/something/etc
and have TALES realize that somefunc, being a method, is callable and
couldn't possibly have a 'something' attribute or key.
Having to write it in two stages screams HACK to me. But I do it, yeah,
I'd rather that than writing python: expressions for simple things.
Florent
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg at nuxeo.com
More information about the ZPT
mailing list