> 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

_______________________________________________
ZPT mailing list
ZPT@zope.org
http://mail.zope.org/mailman/listinfo/zpt

Reply via email to