[ZPT] python expressions

Evan Simpson evan@digicool.com
Fri, 27 Apr 2001 10:55:31 -0400


From: "Peter Bengtsson" <peter@grenna.net>
> Maybe I'm too stupid too understand, but the TALES spec doesn't tell me
much
> on how to use it. Perhaps a couple of examples (no, _lots_ of examples :).

Yes, all of the ZPT-related tools need a lot more documentation.

> First of all, does TALES exist yet? In the way that TAL does, being
> downloadable from http://www.zope.org/Members/4am/ZPT.

It is implemented as part of the ZPT product, which contains TALES.py

> I would like to see a little conversion dictionary for DTML junkies like
myself.
> For example the equivalent for:
>   <h2><dtml-var title></h2>
>    == in TAL syntax ==
>   <h2 tal:content="here/title">The title</h2>

Yes, some kind of cookbook is definitely in order.

Cheers,

Evan @ digicool