[ZPT] Re: TALES namespace names cannot contain '-'
Steve Alexander
steve at canonical.com
Fri Sep 2 07:31:38 EDT 2005
> In Zope 2's ZPT, each namespace ('python', 'path', 'exists', etc) is
> also available as a function taking a string. Thus the TALES
> expressions "exists:x/y" and "python:exists('x/y')" are equivalent,
> although the latter is less efficient.
>
> This isn't fundamental or anything, I just thought I'd point it out.
Aha -- we have been talking about different things.
You're talking about the CONTEXTS in a page template.
I'm talking about the foo/zope:url kind of TALES namespace.
I'm not proposing changing the rules for the CONTEXTS from how they are
currently.
--
Steve Alexander
More information about the ZPT
mailing list