[Zope-dev] problem with TAL statements across multiple lines in
zope 2.7b3
Stuart Bishop
stuart.b at commonground.com.au
Fri Dec 12 23:54:34 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 13/12/2003, at 3:34 AM, Gerry Kirk wrote:
> i didn't have this problem with zope 2.6.2. I have a TAL statement as
> follows:
>
> tal:define = "url python:test(item_typeinfo.getId() in
> use_folder_contents, item.absolute_url()+'/folder_contents',
> item.absolute_url()+'/'+action);"
>
> this statement works if it is all on one line, but i get a syntax
> error if it is spread across multiple lines. is this a bug, or a
> change in TAL design?
Works for me. You aren't accidently splitting inside of a string are
you?
- --
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQE/2puKAfqZj7rGN0oRAs9IAJ0SudIu20xmevZrSIHTPu2Aug9cDwCgiRFw
7x6vS4ticldQQ6H+Q4dL8xU=
=hBXD
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list