Re: TALES namespace names cannot contain '-'
Steve Alexander <[email protected]> Fri, 02 Sep 2005 14:31:38 +0300
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
> 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