Comment 7 for bug 1002242

Revision history for this message
Richard Mitchell (mitchellrj) wrote :

Hi Ian,

This was broken in previous versions of Zope. The documentation at http://wiki.zope.org/ZPT/TALESSpecification13 and indeed the comments in the code clearly show that string expressions should not contain any subexpressions, other than simple paths.

The wiki page you point to does show the correct syntax. The issue here is that one cannot use a "string:" subexpression within a string.

${context/absolute_url} is fine.
${context/absolute_url|string:foo} is not.

I hope this clears up any confusion.