[Zope3-Users] Re: zope3's TAL & ZPT reference

Philipp von Weitershausen philipp at weitershausen.de
Tue Aug 8 18:25:07 EDT 2006

Michele Amori wrote:
> I wrote this statements in a zpt page (with zope 3.2):
> tal:content="here/title"
> tal:content="container/title"
> tal:content="template/title"
> tal:content="context/title"
> but no one of that seems to work. Zope returns an error. So Zope2.7's 
> documentation is not useful for z3 developers.

You're confusing a TAL reference with a Zope 2 API reference. The above
examples obviously require the Zope 2 API (which wants all objects to
have a 'title' attribute) which doesn't apply to Zope 3. It still
demonstrates TAL.

My book documents Page Templates (TAL/TALES/METAL): http://worldcookery.com


More information about the Zope3-users mailing list