[Zope] Re: page templates and "python:"

Andreas Jung lists at zopyx.com
Mon Jul 3 09:54:12 EDT 2006



--On 3. Juli 2006 15:50:41 +0200 Tonico Strasser <contact_tonico at yahoo.de> 
wrote:

> Claudio Battaglino schrieb:
>> Hi,
>> what does exactly happen when I use "python:" into a zpt?
>> Is it a problem if I have many "python:" in my page templates?
>
> Path expressions are by far better human readable IMHO. I try very hard
> to avoid Python expressions if possible.

(Un)fortunately we live a in world where methods may have parameters. Path 
expressions work only for parameter-less methods.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060703/1de13592/attachment.bin


More information about the Zope mailing list